setSelectionRange

  • xHtml

Text Selection API: HTML5

Before HTML5 we were using select() method to select the entire text/string present in the input field. We did not…

11 years ago