I am trying to enable and disable the scroll using jquery on click event, I have tried it using css and jquery but it didn't worked. Please help me to solve this.
$('.explore-video-btn').click(function(){
$('body').css('overflow', 'hidden');
// $('body').off('scroll');
});
$('.close-video-pop-up').click(function(){
$('body').css('overflow', 'auto');
// $('body').on('scroll')
});