in JavaScript by
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, 2021 in JavaScript by sharadyadav1986
0 votes
asked Jun 9 in JavaScript by sharadyadav1986
+1 vote
asked Dec 4, 2019 in JavaScript by SakshiSharma
...