#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: | ||
Blocked by: | Blocking: |
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
Note: See
TracTickets for help on using
tickets.
Fixed in SVN. Test Page: http://john.jquery.com/jquery/test/jqcontext.html