3 <script type="text/javascript" src="../dist/jquery.js"></script>
4 <script type="text/javascript" src="data/testrunner.js"></script>
6 $(document).ready(function(){
7 $('#userAgent').html(navigator.userAgent);
13 <link rel="Stylesheet" media="screen" href="data/testsuite.css" />
16 <h1 id="banner">jQuery Core - Test Suite</h1>
17 <h2 id="userAgent"></h2>
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>
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="#" id="anchor1">class="blog"</a></code>:
27 <a href="http://diveintomark.org/" class="blog" hreflang="en" id="mark">diveintomark</a>
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>
36 <p id="first">Try them out:</p>
37 <ul id="firstUL"></ul>
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"/>
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"/>
48 <input type="hidden" name="hidden" id="hidden1"/>
49 <input type="text" style="display:none;" name="foo[bar]" id="hidden2"/>
51 <input type="text" id="name" name="name" value="name" />
53 <button id="button" name="button">Button</button>
55 <textarea id="area1">foobar</textarea>
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>
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>
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>
76 <b id="floatTest">Float test.</b>