Opened 13 years ago
Closed 12 years ago
#5952 closed bug (worksforme)
quote within select value is not parsed correctly, IE specific
Reported by: | colorfulflowers | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4.2 |
Component: | selector | Version: | 1.4.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The following html runs correctly in FF, but not in IE6 or 8.
The double quote within value causes incorrect parsing.
<html>
<body> <script src="javascripts/jquery-1.3.2.js"></script>
<div id="div1"> Test: <input type="checkbox" value="hello"" checked="checked"></input> </div>
<script> $(document).ready(function(){
$('#div1 input[value="hello
""]').removeAttr('checked');
alert($('#div1 input').attr('value'));
}); </script>
</body> </html>
Change History (2)
comment:1 Changed 13 years ago by
Component: | unfiled → selector |
---|
comment:2 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
http://jsfiddle.net/dmethvin/XC2qA/