Home  >  Forum  >  JavaScript
Post New Query

How to Set Page Height Dynamically in jQuery

joined on
March 16,2013
Asked on August 02,2014
I want to set page height dynamically using jQuery, Please help me.
joined on
November 07,2013
Replied on August 02,2014

By $(window).height() you can set the page height, first of calculate the window height and take in variable. You can assign window height in container where you want to fix page height. Ex –
var getHeight = $(window).height(); $(‘.container’).css(‘height’, getHeight);

Write Answer

Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us