Modify ↓
Ticket #3954 (closed bug: invalid)
Attribute selector in IE (at least)
| Reported by: | AlbertVanHalen | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3.2 |
| Component: | unfiled | Version: | 1.3.1 |
| Keywords: | attributeEquals | Cc: | |
| Blocking: | Blocked by: |
Description
Using [name='foo'] gives no results. Using [name = 'foo'] gives correct results.
Attachments
Change History
comment:2 Changed 4 years ago by AlbertVanHalen
It happens when an invalid attribute is set in an element. IE name in a div.
<input name="foo" /> <div name="foo"><div>
[name='foo'] will have 1 element [name = 'foo'] will have 2 elements
Tested in IE7 and IE8 Beta 2
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.


Works for me at of 1.3.1:
http://media.nodnod.net/jquery/3954.html
Can you provide a different test case?