Modify ↓
Ticket #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: | ||
| Blocking: | Blocked by: |
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
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.
