Bug Tracker

Ticket #3167: bug.html

File bug.html, 512 bytes (added by hkirsman, 12 years ago)

bug with selection of 'input type=text name=name '

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>BUG</title>
5
6<script type="text/javascript" src="http://code.jquery.com/jquery-1.2.6.min.js"></script>
7
8
9</head>
10<body>
11
12<form>
13<input type="text" name="name" />
14</form>
15
16<script type="text/javascript">
17t = $("[name^=blah][type!=submit]");
18// solution
19// t = $("form [name^=blah][type!=submit]");
20</script>
21
22</div>
23
24
25</body>
26</html>