Bug Tracker

Opened 10 years ago

Closed 9 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&quot;" 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 9 years ago by dmethvin

Component: unfiledselector

comment:2 Changed 9 years ago by dmethvin

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.