Hi,
I've got a very simple piece of Javascript to set the focus onto a TEXT INPUT field as the page loads:
which I'm calling from the BODY tag as follows:
It works fine when the page is viewed through IE but not Netscape 4. This is not really a "life or death problem" but I would like to sort it out if possible. I had thought that maybe there's some other kind of 'onload' command which might be understood by netscape but am not really getting anywhere. Or maybe there's a problem with my javascript? Any thoughts or advice would be most welcome
I've got a very simple piece of Javascript to set the focus onto a TEXT INPUT field as the page loads:
Code:
<!--
function focusSize()
{
document.frmQuantity.txtQuantity.focus();
}
-->
Code:
<body onload="focusSize()">