in JavaScript by
Q:
How To Set The Focus In An Element Using Javascript?

▼ Show 1 Answer

0 votes
by

<script> function setFocus() { if(focusElement != null) {

document.forms[0].elements["myelementname"].focus(); } } </script>

JavaScript
Learn More with Madanswer

Related questions

+1 vote
asked Jul 16, 2019 in JavaScript by Indian
...