Onclick javascript in perl not working in IE and FF but works in Chrome

Hi, my programmer is ignoring me and I can’t figure this out myself. It’s a CGI script which displays through a separate html page, and the link:
<a class=“menu1” onclick=“a.value=‘stap’; mnu1.submit();”>
is not working in IE and FF, but works in Chrome. At the top of the html page I have
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

Your help would be very much appreciated, thank you.