Trying to disable scrolling if the user clicks a button. I have tried:
$(window).bind('scroll');
Inside a click function, but that doesn't work. Could someone help me? I have looked around and couldn't find a straight answer or a working solution.