Quantcast
Viewing latest article 1
Browse Latest Browse All 5

jQuery Select Text Range

Here’s a jQuery function I wrote which you can use to select a range of text in an input field. $.fn.selectRange = function(start, end) {     return this.each(function() {         if(this.setSelectionRange) {             this.focus();             this.setSelectionRange(start, end);        …

Read more jQuery Select Text Range


Viewing latest article 1
Browse Latest Browse All 5

Trending Articles