Select all text in textarea jquery
javascript, jquery
Solution
$('textarea').on('mouseup', function() { $(this)[0].select(); });
http://jsfiddle.net/Tu9N7/
Problem
How to make all text in textarea selected when user open it through jquery?
javascript, jquery
$('textarea').on('mouseup', function() { $(this)[0].select(); });
http://jsfiddle.net/Tu9N7/
How to make all text in textarea selected when user open it through jquery?