Opened 13 years ago
Closed 13 years ago
#3884 closed bug (fixed)
[name!=val] failing
Reported by: | john | Owned by: | john |
---|---|---|---|
Priority: | major | Milestone: | 1.3.1 |
Component: | selector | Version: | 1.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If v1.3 has changed, why the demo on http://docs.jquery.com/Selectors/attributeNotEqual has the 2nd input not changed to " is not newsletter " (2nd input has no name attribute).
Output: name? name? is not newsletter
Source code: ========= <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <script> $(document).ready(function(){ $("input[name!='newsletter']").next().text(" is not newsletter"); }); </script> </head> <body> <div> <input type="radio" name="newsletter" value="Hot Fuzz" /> <span>name?</span> </div> <div> <input type="radio" value="Cold Fusion" /> <span>name?</span> </div> <div> <input type="radio" name="accept" value="Evil Plans" /> <span>name?</span> </div> </body> </html> =========
Change History (4)
comment:1 Changed 13 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
It's different between in IE6 and in other.
comment:3 Changed 13 years ago by
In IE6 ,the output is
name? is not newsletter is not newsletter
And in Firefox 3 and Chrome ,the output is
name? name? is not newsletter
comment:4 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Fixed in SVN rev [6149].
Note: See
TracTickets for help on using
tickets.
Oops, that's intentional, obviously. Need some sleep.