selecting only text inputs dom code example
Example: javascript select input text on focus
focusMethod = function getFocus() {
document.getElementById("myTextField").focus(); //select the input textfield and set the focus on it
}
focusMethod = function getFocus() {
document.getElementById("myTextField").focus(); //select the input textfield and set the focus on it
}