Answers for "javascript get selected textbox"

0

get selected text input javascript

function disp() {
  var text = document.getElementById("text");
  var t = text.value.substr(text.selectionStart, text.selectionEnd - text.selectionStart);
  alert(t);
}
Posted by: Guest on April-20-2021

Code answers related to "javascript get selected textbox"

Code answers related to "Javascript"

Browse Popular Code Answers by Language