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

1 Answer

0 votes
by

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

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

Related questions

0 votes
asked Sep 20 in JavaScript by sharadyadav1986
+1 vote
asked Dec 4, 2019 in JavaScript by SakshiSharma
...