Bug Tracker

Modify

Ticket #11970 (closed bug: invalid)

Opened 11 months ago

Last modified 11 months ago

jQuery adds wrong value to selector property

Reported by: Sergey Dyagovchenko <sergey.dyagovchenko@…> Owned by: Sergey Dyagovchenko <sergey.dyagovchenko@…>
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by:

Description

Please see this code snippet:  http://jsfiddle.net/gBD5X/

In this example you will see that links.selector returns wrong value: '.appendTo(body) .link'

And I expected to see something like: '#test-block .link' or 'div .link'

Change History

comment:1 Changed 11 months ago by dmethvin

  • Owner set to Sergey Dyagovchenko <sergey.dyagovchenko@…>
  • Status changed from new to pending

Can you point to the documentation for the .selector property?

comment:2 Changed 11 months ago by Sergey Dyagovchenko <sergey.dyagovchenko@…>

  • Status changed from pending to new

I can't point to the documentation. And if I understand correctly .selector property is used by jQuery for holding "selectors history" by which elements were selected.

comment:3 Changed 11 months ago by rwaldron

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

.selector is used internally and is not subject to support.

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.