Bug Tracker

Modify

Ticket #45 (closed bug: fixed)

Opened 7 years ago

Last modified 6 years ago

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

comment:1 Changed 7 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.