Answers for "javascript select input text on focus"

1

javascript select input text on focus

focusMethod = function getFocus() {           
  document.getElementById("myTextField").focus(); //select the input textfield and set the focus on it
}
Posted by: Guest on November-28-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language