Bug Tracker

Ticket #3954: test.html

File test.html, 740 bytes (added by AlbertVanHalen, 11 years ago)
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></title>
5        <script type='text/javascript' src='http://jqueryjs.googlecode.com/files/jquery-1.3.1.min.js'></script>
6        <script type='text/javascript'>
7                $(function() {
8                        $("[name='foo']").css("border", "1px solid red");
9                        $("[name = 'bar']").css("border", "1px solid green");
10                });
11        </script>
12</head>
13<body>
14        <div name="foo" style="width:200px; display:block">foo</div>
15        <input type="text" class="test" name="foo" />
16        <div name="bar" style="width:200px; display:block;">bar</div>
17        <input type="text" class="test" name="bar" />
18</body>
19</html>