Bug Tracker

Modify

Ticket #6555 (closed bug: worksforme)

Opened 3 years ago

Last modified 3 years ago

.add(selector) does not add any matched elements

Reported by: lshearer88 Owned by:
Priority: Milestone: 1.4.3
Component: traversing Version: 1.4.2
Keywords: Cc:
Blocking: Blocked by:

Description

Adding elements to a jQuery object using the .add(selector) method does not work. Alternative methods of either using .add($(selector)) or .add(selector, document.body) work, but using a selector string as the only parameter does not.

Change History

comment:1 Changed 3 years ago by dmethvin

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

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.