Side navigation
#7741 closed bug (duplicate)
Opened December 09, 2010 09:14PM UTC
Closed December 09, 2010 09:24PM UTC
Last modified December 09, 2010 09:24PM UTC
Selecting element with attribute containing [ or ] does not work since 1.4.4
Reported by: | tim@pixelastic.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.6 |
Component: | unfiled | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have an input named data[User][openid] and want to select it using jQuery.
The following code worked using jQuery 1.4.3 but does not work anymore using 1.4.4 (served from http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js)
<input name="data[User][openid]" /> <script> // This should alert 1, but alert 0 in 1.4.4 alert($('input[name=data\\\\[User\\\\]\\\\[openid\\\\]]').length); </script>
Attachments (0)
Change History (5)
Changed December 09, 2010 09:21PM UTC by comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
Changed December 09, 2010 09:24PM UTC by comment:3
resolution: | duplicate |
---|---|
status: | closed → reopened |
sorry had the wrong ticket on my mind
Changed December 09, 2010 09:24PM UTC by comment:4
resolution: | → duplicate |
---|---|
status: | reopened → closed |
Actually duplicate of this one