jQuery Validation Plugin
Demo
<tr> <td> <label>{0}. Item</label> </td> <td class='type'> <select name="item-type-{0}"> <option value="">Select...</option> <option value="0">Learning jQuery</option> <option value="1">jQuery Reference Guide</option> <option value="2">jQuery Cookbook</option> <option vlaue="3">jQuery In Action</option> <option value="4">jQuery For Designers</option> </select> </td> <td class='quantity'> <input size='4' class="quantity" min="1" id="item-quantity-{0}" name="item-quantity-{0}"> </td> <td class='quantity-error'></td> </tr>
Example with custom methods and heavily customized error display
1. Item
Select...
Learning jQuery
jQuery Reference Guide
jQuery Cookbook
jQuery In Action
jQuery For Designers
Totals (max 25)
Add another input to the form
Your form contains tons of errors! Please try again.
Back to main page