Hi guys,
I have a website that works fine in the PC version of IE. To avoid Netscape problems of onclick events with images I have used a href link to a javascript function. It does not appear to work with the Mac version of IE Does anyone know of the correct syntax to make a form submit on an href using a javascript function that is Mac and PC compatible?
Thanks in advance, any help is much appreciated!
shown below is my test page that doesn't work either...
<HTML>
<HEAD>
</HEAD>
<SCRIPT LANGUAGE=javascript>
function mactest()
{
document.maccheck.submit();
}
</SCRIPT>
<BODY>
<FORM method = "post" name = "maccheck" id = "maccheck" action = "pageworked.asp">
<a href = "mactest.asp" onclick ="mactest(); return false;"><img src = "clickme.jpg"></A>
</FORM>
</BODY>
</HTML>
I have a website that works fine in the PC version of IE. To avoid Netscape problems of onclick events with images I have used a href link to a javascript function. It does not appear to work with the Mac version of IE Does anyone know of the correct syntax to make a form submit on an href using a javascript function that is Mac and PC compatible?
Thanks in advance, any help is much appreciated!
shown below is my test page that doesn't work either...
<HTML>
<HEAD>
</HEAD>
<SCRIPT LANGUAGE=javascript>
function mactest()
{
document.maccheck.submit();
}
</SCRIPT>
<BODY>
<FORM method = "post" name = "maccheck" id = "maccheck" action = "pageworked.asp">
<a href = "mactest.asp" onclick ="mactest(); return false;"><img src = "clickme.jpg"></A>
</FORM>
</BODY>
</HTML>