Answers for "how to disable scrolling using scrollParent jquery"

0

disable scroll jquery

//This will completely disable scrolling:
$('html, body').css({
    overflow: 'hidden',
    height: '100%'
});

//To restore:
$('html, body').css({
    overflow: 'auto',
    height: 'auto'
});
Posted by: Guest on July-01-2021

Code answers related to "how to disable scrolling using scrollParent jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language