Tag Archives: select

jQuery Validation and select tags

Just a note to myself, when using jQuery Validation for a select, make sure the first value, "Please select an option" has an empty value. Like this: <select id="regions" class="required" name="regions"> <option value="">Please select an option</option> <option value="1">Region 1</option> <option value="2">Region 2</option> </select> Here’s the original text: http://docs.jquery.com/Plugins/Validation/Methods/required

Follow

Get every new post delivered to your Inbox.