Opened 13 years ago
Closed 13 years ago
#3140 closed bug (invalid)
jQuery fails when element's id include character"[]"
Reported by: | huangam | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | selector | Version: | 1.2.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Here is an element: <div id="test[test]"></div>, but $("#test[test]").length === 0
I think jQuery treat [test] as a attribute!
Change History (1)
comment:1 Changed 13 years ago by
Component: | core → selector |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Check out this link.