$(window).height() fails on IE9
问题 Sorry,I am not sure it is suitable to ask this question here.But this question has bother me for a long time. I tried to use $(window).height() to get visible area height of whole page. I works fine on almost every browser.But it acts weird under IE9 and it's compatibility mode.When I drag the border of browser window and tried to resize it,the value of $(window).height() become larger and larger,even if I tried to make the window smaller. I tried some other method like document