Side navigation
#5020 closed bug (duplicate)
Opened August 06, 2009 11:55AM UTC
Closed July 11, 2011 07:50PM UTC
Last modified July 11, 2011 07:50PM UTC
Attribute selector with filter fails
Reported by: | maciekj | Owned by: | john |
---|---|---|---|
Priority: | major | Milestone: | 1.next |
Component: | selector | Version: | 1.4.3 |
Keywords: | attribute selector filter | Cc: | |
Blocked by: | Blocking: |
Description
Attribute selector combined with filter fails in 1.3.2 when attribute value contains dot.
However it works in 1.2.6.
Code to run on example (attached) html:
$("[name='group.phones[0].number']:visible")
expected: 1 element
got 0 elements
Attachments (1)
Change History (7)
Changed August 07, 2009 07:50AM UTC by comment:1
Changed October 28, 2010 04:47AM UTC by comment:2
keywords: | → needsreview attribute selector filter |
---|---|
milestone: | 1.4 |
status: | new → open |
version: | 1.3.2 → 1.4.3 |
Reproduced here: Live Test Case. It would appear that this broke in jQuery 1.3.2 and has been broken since then.
Changed November 11, 2010 01:33AM UTC by comment:3
keywords: | needsreview attribute selector filter → attribute selector filter |
---|
Changed March 31, 2011 05:00AM UTC by comment:5
milestone: | → 1.next |
---|
See : http://jsfiddle.net/danheberden/XmymL/1/ from #6233
Changed July 11, 2011 07:50PM UTC by comment:6
resolution: | → duplicate |
---|---|
status: | open → closed |
Adding
at the start of CLASS regexp seems to solve the problem.