Opened 14 years ago
Closed 14 years ago
#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: | |
Blocked by: | Blocking: |
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 (3)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Sorry, I don't understand. Can you create a simple test case with the html and javascript required to reproduce the error?
comment:3 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Please reopen with a test case if the problem still exists.
Note: See
TracTickets for help on using
tickets.
This came from making a draggable from a non-existant selector.