Modify ↓
Ticket #5508 (closed bug: invalid)
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: | |
| Blocking: | Blocked by: |
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
Change History
Changed 4 years ago by captainn
-
attachment
example.htm
added
comment:1 Changed 4 years ago by dmethvin
- Status changed from new to closed
- Resolution set to worksforme
Try escaping the bracket with
per the docs.
comment:2 Changed 4 years ago by captainn
- Status changed from closed to reopened
- Resolution worksforme deleted
mhh...i already read the docu and tried to escape the brackets but it did not work in ie (8)! did you try it?
comment:3 Changed 4 years ago by dmethvin
- Status changed from reopened to closed
- Resolution set to invalid
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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

quick example of bug (use IE!)