Opened 15 years ago
Closed 14 years ago
#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: | |
Blocked by: | Blocking: |
Description
Using [name='foo'] gives no results. Using [name = 'foo'] gives correct results.
Attachments (1)
Change History (5)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
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
Changed 15 years ago by
comment:3 Changed 15 years ago by
Never mind. There something weird here.
If I access the document (test.html) via the webserver it goes wrong. If I access the local document (via file://) it goes OK.
Can I/you delete the ticket???
comment:4 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
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?