In case you need possibility to hide and show scrollbars dynamically you could use
$("body").css("overflow", "hidden");
and
$("body").css("overflow", "auto");
somewhere in your code.
More Related Contents:
- Adding The Anchor Text As The Title Dynamicaly
- How to prevent a click on a ‘#’ link from jumping to top of page?
- Resize jqGrid when browser is resized?
- Selecting multiple classes with jQuery
- Passing data to a jQuery UI Dialog
- jQuery drop down menu closing by clicking outside
- document.getElementsByClassName().innerHTML always returns “undefined”
- How to disable Chrome’s saved password prompt setting through JavaScript
- Input field for Tags separated by comma
- Only on Firefox “Loading failed for the with source”
- jQuery load content when scroll to bottom-100px of page, multiple events fired
- jQuery: How to listen for DOM changes?
- Using jQuery, how do you find only visible elements and leave hidden elements alone?
- Remove all attributes
- Clone a file input element in Javascript
- How to get the image size (height & width) using JavaScript
- submit event does not fire if submit initiated programmatically
- jQuery plugin DataTables: How to highlight the current search text?
- Add CSS rule via jQuery for future created elements
- jQuery continuous mousedown
- Jquery getJSON cross domain problems
- closure inside a for loop – callback with loop variable as parameter [duplicate]
- Blur event stops click event from working?
- Randomize setInterval ( How to rewrite same random after random interval)
- Will $(window).resize() fire on orientation change?
- difference between parseInt() and parseFloat() [duplicate]
- Convert iso timestamp to date format with Javascript?
- Dynamically replace img src attribute with jQuery
- Disabling links to stop double-clicks in JQuery
- Screen Coordinates of a element, via Javascript