InterviewSolution
Saved Bookmarks
| 1. |
How To Set The Focus In An Element Using Javascript? |
|
Answer» <script> 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>
|
|