Skip to main content

Bug Tracker

Side navigation

#11970 closed bug (invalid)

Opened June 25, 2012 05:44PM UTC

Closed June 30, 2012 07:47PM UTC

jQuery adds wrong value to selector property

Reported by: Sergey Dyagovchenko <sergey.dyagovchenko@gmail.com> Owned by: Sergey Dyagovchenko <sergey.dyagovchenko@gmail.com>
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'

Attachments (0)
Change History (3)

Changed June 25, 2012 05:59PM UTC by dmethvin comment:1

owner: → Sergey Dyagovchenko <sergey.dyagovchenko@gmail.com>
status: newpending

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

Changed June 30, 2012 06:44PM UTC by Sergey Dyagovchenko <sergey.dyagovchenko@gmail.com> comment:2

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.

Changed June 30, 2012 07:47PM UTC by rwaldron comment:3

resolution: → invalid
status: newclosed

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