Bug Tracker

Ticket #4091: test.html

File test.html, 600 bytes (added by soothsayer, 11 years ago)

Sample Code

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4
5<head>
6    <title>Conforming XHTML 1.0 Strict Template</title>
7    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.js"></script>
8    <script type="text/javascript">
9        $(function()
10        {
11                        $("input[name=txtRating\\[]").css('background', 'red');
12                        //$('input[name="txtRating["]') << works
13        });
14    </script>
15</head>
16
17<body>
18    <input type="text" name="txtRating[">
19</body>
20</html>