Modify ↓
Ticket #45 (closed bug: fixed)
Empty jQuery Object as Context
| Reported by: | john | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0 |
| Component: | core | Version: | 1.0 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Where the following throws an error in Win FF, Win IE 6.0, and Safari (only ones tested).
$('div', $('#nodiv1')).html('Div was modified');
All the errors are similar to the following Safari error:
Value undefined (result of expression ret[i].getElementsByTagName) is not object. http://jquery.com/src/jquery-1.0a.js Line: 588
Example at: http://dmlair.com/jquery/jqErrors/jqError1.html
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.

Fixed in SVN. Test Page: http://john.jquery.com/jquery/test/jqcontext.html