Side navigation
#5508 closed bug (invalid)
Opened November 13, 2009 08:11AM UTC
Closed November 16, 2009 11:44PM UTC
IE does not allow you to use square brackets in jQuery query
Reported by: | captainn | Owned by: | john |
---|---|---|---|
Priority: | critical | Milestone: | 1.4 |
Component: | selector | Version: | 1.3.2 |
Keywords: | name query square brackets | Cc: | |
Blocked by: | Blocking: |
Description
I stumbled upon a bug in IE (tested with IE 7 and IE 8), when i used a square bracket within a name query. For me it's an essential function! I attached a quick example.
Attachments (2)
Change History (3)
Changed November 14, 2009 10:05PM UTC by comment:1
resolution: | → worksforme |
---|---|
status: | new → closed |
Changed November 16, 2009 07:16AM UTC by comment:2
resolution: | worksforme |
---|---|
status: | closed → reopened |
mhh...i already read the docu and tried to escape the brackets but it did not work in ie (8)! did you try it?
Changed November 16, 2009 11:44PM UTC by comment:3
resolution: | → invalid |
---|---|
status: | reopened → closed |
True but you didn't escape the *other* character that isn't valid in a name, the period. Please ask for help in the forums and/or read the documentation I linked to before opening tickets, thanks.
Try escaping the bracket with \\\\ per the docs.
http://docs.jquery.com/Selectors