Side navigation
#7539 closed bug (duplicate)
Opened November 17, 2010 03:09AM UTC
Closed January 17, 2011 09:44PM UTC
Last modified January 17, 2011 09:44PM UTC
Attribute selector equals with escaped value fails in IE8
Reported by: | dennis@spuymore.nl | Owned by: | john |
---|---|---|---|
Priority: | blocker | Milestone: | 1.5 |
Component: | selector | Version: | 1.4.4 |
Keywords: | Cc: | rwaldron | |
Blocked by: | Blocking: |
Description
Having:
<input name="foo[bar]" type="text" />
the following:
alert($("[name=foo\\\\[bar\\\\]]").length);
alerts 0 in IE8 together with jQuery v1.4.4, while it alerted 1 correctly with v1.4.3.
This causes serious problems when operating on form elements with array-styled names.
Attachments (0)
Change History (16)
Changed November 17, 2010 03:13AM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
Changed November 22, 2010 12:07PM UTC by comment:2
resolution: | invalid |
---|---|
status: | closed → reopened |
Changed November 22, 2010 12:12PM UTC by comment:3
_comment0: | [http://jsfiddle.net/jitter/58hy9/ test case] \ \ As per discussion with csnover. The escaped but unquoted selector needs to work as it's valid CSS3 selector syntax and also is correctly handled by qSA. → 1290427992386430 |
---|---|
component: | unfiled → selector |
priority: | undecided → blocker |
status: | reopened → open |
As per discussion with csnover. The escaped but unquoted selector needs to work as it's valid CSS3 selector syntax and also is correctly handled by qSA. There is no good reason for this selector suddenly failing since jQuery 1.4.4,
Changed November 22, 2010 12:13PM UTC by comment:4
milestone: | 1.5 → 1.4.5 |
---|
Changed November 22, 2010 05:45PM UTC by comment:5
cc: | → rwaldron |
---|
Changed December 01, 2010 11:30PM UTC by comment:6
_comment0: | #7596 is a duplicate of this ticket. → 1291634822624461 |
---|
~~#7596 is a duplicate of this ticket.~~ <-- wrong
Changed December 21, 2010 12:00PM UTC by comment:10
#7813 is a duplicate of this ticket.
Changed January 10, 2011 05:47PM UTC by comment:11
milestone: | 1.4.5 → 1.5 |
---|
Changed January 10, 2011 05:48PM UTC by comment:12
milestone: | 1.5 → 1.4.5 |
---|
Changed January 17, 2011 04:55PM UTC by comment:13
owner: | → john |
---|---|
status: | open → assigned |
Changed January 17, 2011 06:48PM UTC by comment:14
milestone: | 1.4.5 → 1.5 |
---|
Changed January 17, 2011 09:44PM UTC by comment:15
resolution: | → duplicate |
---|---|
status: | assigned → closed |
Changed January 17, 2011 09:44PM UTC by comment:16
Duplicate of #6093.
Escaped or not, attributes MUST be quoted
http://jsfiddle.net/rwaldron/mrtCs/