/ Published in: Other
Expand |
Embed | Plain Text
$("input, textarea").focus( function() { // only select if the text has not changed if(this.value == this.defaultValue) { this.select(); } } )
You need to login to post a comment.
$("input, textarea").focus( function() { // only select if the text has not changed if(this.value == this.defaultValue) { this.select(); } } )
You need to login to post a comment.