Trying to set the focus to an element of input type on loading the page.
This is the code I used but it doesn't work. Any suggestions? (IE 6,
Windows)
<SCRIPT language=JavaSc ript>
funcion setFocus() {
document.formna me.fieldname.on focus();
}
</SCRIPT>
<BODY onload="setFocu s()">
Thanks,
Mica
This is the code I used but it doesn't work. Any suggestions? (IE 6,
Windows)
<SCRIPT language=JavaSc ript>
funcion setFocus() {
document.formna me.fieldname.on focus();
}
</SCRIPT>
<BODY onload="setFocu s()">
Thanks,
Mica
Comment