Bug Tracker

Modify

Ticket #5952 (closed bug: worksforme)

Opened 3 years ago

Last modified 3 years ago

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&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

comment:1 Changed 3 years ago by dmethvin

  • Component changed from unfiled to selector

comment:2 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to worksforme

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.