Categories

Dec 4, 2019 in JavaScript

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

1 Answer

Dec 4, 2019

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

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

Click here to read more about JavaScript
Click here to read more about Insurance

Related questions

Madanswer
Jul 16, 2019 in JavaScript
Jan 30 in Selenium
Oct 19, 2019 in JavaScript
...