[jQuery] Prevent DDLB Mouse Wheel Selection
Hello,
I want to prevent our users from accidently changing the value in a
select element using the mouse wheel. I tried various permutations on
the following theme but have been unable to get anything to work. Any
suggestion would be greatly appreciated. This application is for a
captive audience and does not need to be cross browser capable. Only
IE is allowed. Thanks,
Sam
$(document).ready(function() {
$(my selector here).each(function(i) {
//...some other stuff that works fine.
$(this).bind("onmousewheel", function(e){ e.preventDefault
(); });
});
});