e05c176b829e1ef311525c83359b651768cda04c
[jquery.git] / build / test / index.html
1 <html id="html">
2 <head>
3         <script type="text/javascript" src="../dist/jquery.js"></script>
4         <script type="text/javascript" src="js/test.js"></script>
5         <script>
6         $(document).ready(function(){
7                 runTests([{FILES}]);\r
8         });
9         </script>
10         <style>.pass { color: green; } .fail { color: red; } #tests ol { display: none; }</style>
11 </head>
12 <body id="body">
13         <h1>jQuery - Test Suite</h1>
14         
15         <!-- Test HTML -->
16         <dl style="display:none;">
17         <div id="main" style="display: none;">
18                 <p id="firstp">See <a id="simon1" href="http://simon.incutio.com/archive/2003/03/25/#getElementsBySelector" rel="bookmark">this blog entry</a> for more information.</p>
19                 <p id="ap">
20                         Here are some links in a normal paragraph: <a id="google" href="http://www.google.com/" title="Google!">Google</a>, 
21                         <a id="groups" href="http://groups.google.com/">Google Groups</a>. 
22                         This link has <code><a href="#" id="anchor1">class="blog"</a></code>: 
23                         <a href="http://diveintomark.org/" class="blog" hreflang="en" id="mark">diveintomark</a>
24
25                 </p>
26                 <div id="foo">
27                         <p id="sndp">Everything inside the red border is inside a div with <code>id="foo"</code>.</p>
28                         <p lang="en" id="en">This is a normal link: <a id="yahoo" href="http://www.yahoo.com/" class="blogTest">Yahoo</a></p>
29                         <p id="sap">This link has <code><a href="#2" id="anchor2">class="blog"</a></code>: <a href="http://simon.incutio.com/" class="blog link" id="simon">Simon Willison's Weblog</a></p>
30
31                 </div>\r
32                 <p id="first">Try them out:</p>\r
33                 <ul id="firstUL"></ul>
34                 <ol id="empty"></ol>
35                 <form id="form" action="formaction">
36                         <input type="text" value="Test" name="action" id="text1"/>
37                         <input type="text" value="Test" id="text2" disabled="disabled"/>
38                         <input type="radio" name="radio1" id="radio1"/>
39
40                         <input type="radio" name="radio2" id="radio2" checked/>
41                         <input type="checkbox" name="check" id="check1" checked/>
42                         <input type="checkbox" name="check" id="check2"/>
43
44                         <input type="hidden" name="hidden" id="hidden1"/>
45                         <input type="text" style="display:none;" name="foo[bar]" id="hidden2"/>\r
46                         \r
47                         <input type="text" id="name" name="name" value="name" />\r
48                         \r
49                         <select name="select1" id="select1">\r
50                                 <option id="option1a" value="">Nothing</option>\r
51                                 <option id="option1b" value="1">1</option>\r
52                                 <option id="option1c" value="2">2</option>\r
53                                 <option id="option1d" value="3">3</option>\r
54                         </select>\r
55                         <select name="select1" id="select2">\r
56                                 <option id="option2a" value="">Nothing</option>\r
57                                 <option id="option2b" value="1">1</option>\r
58                                 <option id="option2c" value="2">2</option>\r
59                                 <option id="option2d" selected value="3">3</option>\r
60                         </select>\r
61                         <select name="select3" id="select3" multiple="multiple">\r
62                                 <option id="option3a" value="">Nothing</option>\r
63                                 <option id="option3b" selected="selected" value="1">1</option>\r
64                                 <option id="option3c" selected value="2">2</option>\r
65                                 <option id="option3d" value="3">3</option>\r
66                         </select>
67                 </form>
68         </div>
69         </dl>
70         
71         <ol id="tests"></ol>
72 </body>
73 </html>