Wednesday , 26 April 2017
Home » jQuery » [jQuery] Find Width & Height of Body and Window
[jQuery] Find Width & Height of Body and Window

[jQuery] Find Width & Height of Body and Window

Hello Friends,

Wanted to get Width & Height of Body and Window using jQuery ? If yes than you are at the right place. 🙂 Its very easy to get Width & Height of Body and Window using jQuery. You can also get Width & Height of Window using JavaScript code. Below is the code to get Width of Body using jQuery, Height of Body using jQuery, Width of Window using jQuery, Height of Window using jQuery.

$(window).width();    => It returns width of the body
$(document).width();  => It returns width of the whole window
$(window).height();   => It returns height of the body
$(document).height(); => It returns height of the whole window

Get Width of Body using jQuery, Get Width of Window using jQuery, Get Window Width using jQuery, Get Browser Width using jQuery, Get Body Height jQuery, Get Window Height jQuery, Get Body Width jQuery, jQuery Window Width & Height

      
Plugin by: PHP Freelancer

About Rakshit Patel

I am PHP Freelancer, Rakshit Patel working as PHP Programmer India. I have developed this site to share my knowledge, thoughts and experience during the development of projects. We are group of developers working together. If you want to hire us for any PHP related work, you can reach me via Email, Phone or Chat.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Notify me of followup comments via e-mail. You can also subscribe without commenting.