How To Programmatically Disable Auto-select On Elements?
Then the user uses TAB or SHIFT-TAB to 'jump' to a certain text-box and that text-box happens to have a value in it, then that value will be auto-selected. I would like to disable
Solution 1:
$(function() {
$('input').bind('focus', function(e) {
returnfalse;
});
});
Using jQuery 1.4.3+ you can use the shortcut version:
$(function() {
$('input').bind('focus', false);
});
Example: http://www.jsfiddle.net/P8LDB/
Post a Comment for "How To Programmatically Disable Auto-select On Elements?"