<script type= "Text/javascript" > $ (document). Ready (function () { Alert (window). Height ());// The current window of the browser is in the viewable area height alert ($ ( document). Height ());//browser Current window document Altitude alert ($ (document.body). Height ());// Browser Current window document body Height alert ($ (document.body). Outerheight (True));//browser Current window document body total height includes border padding margin Alert ($ (window). width ()); Browser Current window viewable area width alert ($ ( document). width ());//browser Current Window Document object Widths alert ($ (document.body). width ());// Browser Current window document body Height alert ($ (document.body). Outerwidth (True));//browser Current window document body total width includes border padding margin}) </ Script>
[Jquery] jquery gets the browser's wide-height code