Modify ↓
Ticket #7321 (closed bug: worksforme)
$(document).width() body is null
| Reported by: | kmcarthur@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.5 |
| Component: | unfiled | Version: | 1.4.3 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
using $(document).width() in IE 8, get " 'body' is null or not an object" line 165 char 363
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Since you didn’t provide a test case, all I can do is confirm that this works properly as described. In the future, please use the jQuery Forum for support requests, or provide a working test case.