[ACCEPTED]-$('body').css('overflow-y', 'auto') doesn't work on Internet explorer-css
Accepted answer
$('html, body').css('overflowY', 'auto');
solves this problem.
0
Try setting it with overflowY
:
$('body').css('overflowY', 'auto');
Dashes in attribute 2 names typically don't work when set with 1 JavaScript, especially in IE.
Hope that works.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.