Bug Tracker

Ticket #4587: test.htm

File test.htm, 768 bytes (added by mholt, 6 years ago)

Use this HTM file to reproduce the possible bug. Don't forget to include jQuery!

Line 
1<html>
2<head>
3<title>jQuery Not Selector Test Case</title>
4<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
5<script type="text/javascript">
6function doTest() {
7        $(".inputbox:not(:last)").attr("readonly", "readonly");
8}
9</script>
10</head>
11<body>
12<input type="text" class="inputbox" value="Testing" /><br />
13<input type="text" class="inputbox" value="Testing" /><br />
14<input type="text" class="inputbox" value="Testing" /><br />
15<input type="text" class="inputbox" value="Testing" /><br />
16<input type="text" class="inputbox" value="Testing" /><br />
17<input type="text" class="inputbox" value="Testing" /><br />
18<input type="text" class="inputbox" value="Testing" /><br />
19<button onclick="doTest()">Test me</button>
20</body>
21</html>