Modify ↓
Ticket #4339 (closed bug: invalid)
ownerDocument is null in stead of "#<an HTMLDocument>"
| Reported by: | Spiked | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | unfiled | Version: | 1.3.2 |
| Keywords: | ownerdocument | Cc: | |
| Blocking: | Blocked by: |
Description
"Uncaught TypeError: Cannot read property 'body' of null," source: file:///<snip>/jquery-1.3.2.js (4185) uncaught exception TypeError: Cannot read property 'body' of null
$ print this[0] #<an HTMLDocument> $ print this[0].ownerDocument null
line #4185: if ( this[0] === this[0].ownerDocument.body ) return jQuery.offset.bodyOffset( this[0] );
Change History
comment:1 in reply to: ↑ description Changed 4 years ago by Spiked
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.

This came from making a draggable from a non-existant selector.