Side navigation
Ticket #4091: test.html
File test.html, 0.6 KB (added by soothsayer, February 07, 2009 01:54PM UTC)
Sample Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Conforming XHTML 1.0 Strict Template</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.js"></script>
<script type="text/javascript">
$(function()
{
$("input[name=txtRating\\[]").css('background', 'red');
//$('input[name="txtRating["]') << works
});
</script>
</head>
<body>
<input type="text" name="txtRating[">
</body>
</html>
Download in other formats:
Original Format
File test.html, 0.6 KB (added by soothsayer, February 07, 2009 01:54PM UTC)
Sample Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Conforming XHTML 1.0 Strict Template</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.js"></script>
<script type="text/javascript">
$(function()
{
$("input[name=txtRating\\[]").css('background', 'red');
//$('input[name="txtRating["]') << works
});
</script>
</head>
<body>
<input type="text" name="txtRating[">
</body>
</html>