How to disable and enable the scroll in website(Java Script)

In this section we can see how we can disable and enable scrolling option in an ecommerce website using javascript function. First of all we have to set up a block of code in the respective page. // PREVENT DEFAULT HANDLERfunction preventDefault(e) {  e = e || window.event;  if (e.preventDefault) {    e.preventDefault();  }  e.returnValue =… Continue reading How to disable and enable the scroll in website(Java Script)