code_junkie

Is it possible to disable IE8 “accelerators” on my website

Nov 14th, 2011
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. .blur();
  2.  
  3. $('body').bind('selectstart', function(e) { return $(e.target).is(':input'); });
  4.  
  5. if (document.selection)
  6. document.selection.clear();
Add Comment
Please, Sign In to add comment