Bug Tracker

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#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

Change History (1)

comment:1 Changed 14 years ago by john

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.