Side navigation
#5199 closed bug (invalid)
Opened September 10, 2009 01:20PM UTC
Closed November 14, 2010 03:13PM UTC
Problem with Selector using
| Reported by: | evg | Owned by: | john |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | core | Version: | 1.3.2 |
| Keywords: | selector | Cc: | evg, john |
| Blocked by: | Blocking: |
Description
It's wonderful soluton with 'selector' property. But it doesn't work fully:
It works:
var selector = $('*').find('div').selector; returns '* div'
$(selector); returns correct set
Doesn't work:
var selector = $('*').find('div').parent('body').selector; returns '* div.parent(body)'
$(selector); returns empty set
I think $($any_set.selector) should work. It's very good idea in my opinion.
Attachments (0)
Change History (3)
Changed September 14, 2009 06:06PM UTC by comment:1
| cc: | → evg, john |
|---|---|
| owner: | → john |
Changed October 02, 2009 01:26AM UTC by comment:2
I think$($any_set.selector)should work.
If the set was created using arbitrary filter function code I don't think this is achievable.
Changed November 14, 2010 03:13PM UTC by comment:3
| resolution: | → invalid |
|---|---|
| status: | new → closed |
.selectoris not guaranteed to be a string that can be used to recreate the original filter set.
I was talking about this with John.
Reassigning.