Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

focus js

<input type="text" id="myTextField" value="Text field.">
<p></p>
<button type="button" onclick="focusMethod()">Click me to focus on the text field!</button>
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #focus #js
ADD COMMENT
Topic
Name
8+1 =