1.

How To Set The Focus In An Element Using Javascript?

Answer»

<script&GT; FUNCTION setFocus() { if(focusElement != NULL) { document.forms[0].elements["myelementname"].FOCUS(); } } </script>

 

<script> function setFocus() { if(focusElement != null) { document.forms[0].elements["myelementname"].focus(); } } </script>

 



Discussion

No Comment Found