Skip to main content

Bug Tracker

Side navigation

#5952 closed bug (worksforme)

Opened January 27, 2010 03:06AM UTC

Closed November 10, 2010 02:23AM UTC

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>

Attachments (0)
Change History (2)

Changed June 14, 2010 12:47AM UTC by dmethvin comment:1

component: unfiledselector

Changed November 10, 2010 02:23AM UTC by dmethvin comment:2

resolution: → worksforme
status: newclosed