Is it possible to prevent scroll event in jQuery?
I've tried this code, but it didn't work.
$('*').scroll(function(event){
  event.stopPropagation();
  event.preventDefault();
  return false;
})
                You can disable scrolling within certain element areas using the following:
$("element,element2").bind("touchmove",function(e){
    e.preventDefault();
});
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With