Bug Tracker

Opened 11 years ago

Closed 11 years ago

#11970 closed bug (invalid)

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:
Blocked by: Blocking:

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 (3)

comment:1 Changed 11 years ago by dmethvin

Owner: set to Sergey Dyagovchenko <sergey.dyagovchenko@…>
Status: newpending

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

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

Status: pendingnew

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 years ago by Rick Waldron

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.