|
3 | 3 | <head>
|
4 | 4 | <meta charset="utf-8">
|
5 | 5 | <title>jQuery validation plug-in - main demo</title>
|
6 |
| - <link rel="stylesheet" href="css/screen.css" /> |
| 6 | + <link rel="stylesheet" href="css/screen.css"> |
7 | 7 | <script src="../lib/jquery.js"></script>
|
8 | 8 | <script src="../dist/jquery.validate.js"></script>
|
9 | 9 | <script>
|
@@ -145,51 +145,51 @@ <h1 id="banner"><a href="http://jqueryvalidation.org/">jQuery Validation Plugin<
|
145 | 145 | <legend>Validating a complete form</legend>
|
146 | 146 | <p>
|
147 | 147 | <label for="firstname">Firstname</label>
|
148 |
| - <input id="firstname" name="firstname" type="text" /> |
| 148 | + <input id="firstname" name="firstname" type="text"> |
149 | 149 | </p>
|
150 | 150 | <p>
|
151 | 151 | <label for="lastname">Lastname</label>
|
152 |
| - <input id="lastname" name="lastname" type="text" /> |
| 152 | + <input id="lastname" name="lastname" type="text"> |
153 | 153 | </p>
|
154 | 154 | <p>
|
155 | 155 | <label for="username">Username</label>
|
156 |
| - <input id="username" name="username" type="text" /> |
| 156 | + <input id="username" name="username" type="text"> |
157 | 157 | </p>
|
158 | 158 | <p>
|
159 | 159 | <label for="password">Password</label>
|
160 |
| - <input id="password" name="password" type="password" /> |
| 160 | + <input id="password" name="password" type="password"> |
161 | 161 | </p>
|
162 | 162 | <p>
|
163 | 163 | <label for="confirm_password">Confirm password</label>
|
164 |
| - <input id="confirm_password" name="confirm_password" type="password" /> |
| 164 | + <input id="confirm_password" name="confirm_password" type="password"> |
165 | 165 | </p>
|
166 | 166 | <p>
|
167 | 167 | <label for="email">Email</label>
|
168 |
| - <input id="email" name="email" type="email" /> |
| 168 | + <input id="email" name="email" type="email"> |
169 | 169 | </p>
|
170 | 170 | <p>
|
171 | 171 | <label for="agree">Please agree to our policy</label>
|
172 |
| - <input type="checkbox" class="checkbox" id="agree" name="agree" /> |
| 172 | + <input type="checkbox" class="checkbox" id="agree" name="agree"> |
173 | 173 | </p>
|
174 | 174 | <p>
|
175 | 175 | <label for="newsletter">I'd like to receive the newsletter</label>
|
176 |
| - <input type="checkbox" class="checkbox" id="newsletter" name="newsletter" /> |
| 176 | + <input type="checkbox" class="checkbox" id="newsletter" name="newsletter"> |
177 | 177 | </p>
|
178 | 178 | <fieldset id="newsletter_topics">
|
179 | 179 | <legend>Topics (select at least two) - note: would be hidden when newsletter isn't selected, but is visible here for the demo</legend>
|
180 | 180 | <label for="topic_marketflash">
|
181 |
| - <input type="checkbox" id="topic_marketflash" value="marketflash" name="topic" />Marketflash |
| 181 | + <input type="checkbox" id="topic_marketflash" value="marketflash" name="topic">Marketflash |
182 | 182 | </label>
|
183 | 183 | <label for="topic_fuzz">
|
184 |
| - <input type="checkbox" id="topic_fuzz" value="fuzz" name="topic" />Latest fuzz |
| 184 | + <input type="checkbox" id="topic_fuzz" value="fuzz" name="topic">Latest fuzz |
185 | 185 | </label>
|
186 | 186 | <label for="topic_digester">
|
187 |
| - <input type="checkbox" id="topic_digester" value="digester" name="topic" />Mailing list digester |
| 187 | + <input type="checkbox" id="topic_digester" value="digester" name="topic">Mailing list digester |
188 | 188 | </label>
|
189 | 189 | <label for="topic" class="error">Please select at least two topics you'd like to receive.</label>
|
190 | 190 | </fieldset>
|
191 | 191 | <p>
|
192 |
| - <input class="submit" type="submit" value="Submit" /> |
| 192 | + <input class="submit" type="submit" value="Submit"> |
193 | 193 | </p>
|
194 | 194 | </fieldset>
|
195 | 195 | </form>
|
|
0 commit comments