1a00fd78a8895a5f8b3ef304f25a311a6d493ab9
[jquery.git] / build / test / index.html
1 <html id="html">
2 <head>
3         <title>jQuery Test Suite</title>
4         <link rel="Stylesheet" media="screen" href="data/testsuite.css" />
5         <script type="text/javascript" src="../dist/jquery.js"></script>
6         <script type="text/javascript" src="data/testrunner.js"></script>
7         <script type="text/javascript" src="../src/jquery/coreTest.js"></script>
8         <script type="text/javascript" src="../src/selector/selectorTest.js"></script>
9         <script type="text/javascript" src="../src/event/eventTest.js"></script>
10         <script type="text/javascript" src="../src/ajax/ajaxTest.js"></script>
11         <script type="text/javascript" src="../src/fx/fxTest.js"></script>
12 </head>
13
14 <body id="body">
15         <h1>jQuery Test Suite</h1>
16         <h2 id="banner"></h2>
17         <h2 id="userAgent"></h2>
18         
19         <!-- Test HTML -->
20         <dl style="display:none;">
21         <div id="main" style="display: none;">
22                 <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>
23                 <p id="ap">
24                         Here are some links in a normal paragraph: <a id="google" href="http://www.google.com/" title="Google!">Google</a>, 
25                         <a id="groups" href="http://groups.google.com/">Google Groups</a>. 
26                         This link has <code><a href="http://smin" id="anchor1">class="blog"</a></code>: 
27                         <a href="http://diveintomark.org/" class="blog" hreflang="en" id="mark">diveintomark</a>
28
29                 </p>
30                 <div id="foo">
31                         <p id="sndp">Everything inside the red border is inside a div with <code>id="foo"</code>.</p>
32                         <p lang="en" id="en">This is a normal link: <a id="yahoo" href="http://www.yahoo.com/" class="blogTest">Yahoo</a></p>
33                         <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>
34
35                 </div>
36                 <p id="first">Try them out:</p>
37                 <ul id="firstUL"></ul>
38                 <ol id="empty"></ol>
39                 <form id="form" action="formaction">
40                         <input type="text" name="action" value="Test" id="text1"/>
41                         <input type="text" name="text2" value="Test" id="text2" disabled="disabled"/>
42                         <input type="radio" name="radio1" id="radio1"/>
43
44                         <input type="radio" name="radio2" id="radio2" checked="checked"/>
45                         <input type="checkbox" name="check" id="check1" checked="checked"/>
46                         <input type="checkbox" id="check2"/>
47
48                         <input type="hidden" name="hidden" id="hidden1"/>
49                         <input type="text" style="display:none;" name="foo[bar]" id="hidden2"/>
50                         
51                         <input type="text" id="name" name="name" value="name" />
52                         
53                         <button id="button" name="button">Button</button>
54                         
55                         <textarea id="area1">foobar</textarea>
56                         
57                         <select name="select1" id="select1">
58                                 <option id="option1a" value="">Nothing</option>
59                                 <option id="option1b" value="1">1</option>
60                                 <option id="option1c" value="2">2</option>
61                                 <option id="option1d" value="3">3</option>
62                         </select>
63                         <select name="select2" id="select2">
64                                 <option id="option2a" value="">Nothing</option>
65                                 <option id="option2b" value="1">1</option>
66                                 <option id="option2c" value="2">2</option>
67                                 <option id="option2d" selected="selected" value="3">3</option>
68                         </select>
69                         <select name="select3" id="select3" multiple="multiple">
70                                 <option id="option3a" value="">Nothing</option>
71                                 <option id="option3b" selected="selected" value="1">1</option>
72                                 <option id="option3c" selected="selected" value="2">2</option>
73                                 <option id="option3d" value="3">3</option>
74                         </select>
75                         
76                         <object id="object1" codebase="stupid">
77                                 <param name="p1" value="x1" />
78                                 <param name="p2" value="x2" />
79                         </object>
80                 </form>
81                 <b id="floatTest">Float test.</b>
82         </div>
83         </dl>
84         
85         <ol id="tests"></ol>
86 </body>
87 </html>