Auto select all text with jQuery
21 Jun 2013If you’re stuck using an older version of jQuery ( < 1.9 ) and need to auto select all text in a dynamically created input field you can combine .select() with .live() to make it work.
Refer the javascript code and demo below to see it in action.