How to disable scrolling of body element?

Posted by Starx on Stack Overflow See other posts from Stack Overflow or by Starx
Published on 2010-05-07T14:02:51Z Indexed on 2010/05/07 14:08 UTC
Read the original article Hit count: 199

Filed under:

How to disable scrolling of body? $('body').css('overflow','hidden'); only hides the scrollbars but it does not disable the scrolling. I want to disable the scrolling of the body.

But I want to keep the scrolling of other division intact.

© Stack Overflow or respective owner

Related posts about jQuery