Skip to main content

Bug Tracker

Side navigation

#12944 closed bug (duplicate)

Opened November 22, 2012 04:35PM UTC

Closed November 22, 2012 05:19PM UTC

$(window).height(); not working in Mozilla Firefox 16.0.2 n others too using jquery1.8.2

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:

When using $(window).height(); with jquery 1.8.2, Chrome gives the right output, but internet explorer and mozilla firefox aren't giving the right output. Where Chrome gives the right value 675, mozilla returns 8 and internet explorer returns 0. The code is:




<script src=""></script>

<script type="text/javascript">


var wh=$(window).height();






<div id="hell"></div>



Attachments (0)
Change History (1)

Changed November 22, 2012 05:19PM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

Duplicate of #12426.