Modify ↓
Ticket #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: | ||
| Blocking: | Blocked by: |
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
comment:1 Changed 4 years ago by john
- Status changed from new to closed
- Resolution set to worksforme
comment:2 Changed 4 years ago by shawphy
- Status changed from closed to reopened
- Resolution worksforme deleted
It's different between in IE6 and in other.
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.

Oops, that's intentional, obviously. Need some sleep.