Bug Tracker

Ticket #4468: NotBug.htm

File NotBug.htm, 689 bytes (added by swalke16, 14 years ago)

Simple HTML page that reproduces the described issue.

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" >
3<head>
4    <title>Untitled Page</title>
5    <script src="jquery-1.3.2-vsdoc.js"></script>
6    <script>
7        $(document).ready(function()
8        {
9            $('.value-container:not(:first)').remove();
10            alert($('.value-container:first').length);
11        });
12    </script>
13</head>
14<body>
15
16<form>
17    <div class="value-container"></div>
18    <div class="value-container"></div>
19    <div class="value-container"></div>
20    <div class="value-container"></div>
21</form>
22
23</body>
24</html>