95
rated 0 times
[
96]
[
1]
/ answers: 1 / hits: 45131
/ 14 Years ago, mon, september 6, 2010, 12:00:00
The following works fine in Firefox and Chrome, but IE 8 will not call the submit() method when the anchor link is clicked.
<a href=javascript:void(0); onclick=submit();>Sign In</a>
The submit method is defined on the same page as follows:
<head>
<script type=text/javascript>
function submit()
{
// other code
document.forms[0].submit();
}
</script>
</head>
More From » internet-explorer