homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

Listbox and form validation with jQuery

WebmasterWorld Senior Member 5+ Year Member

Msg#: 4546742 posted 12:07 pm on Feb 19, 2013 (gmt 0)

I like to set listbox in the correct way.

How to do this with jQuery and validation like:

Is it better [mathachew.com...]
for listbox? Any feedback?

Sample listbox:
<script type="text/javascript">
jQuery(function() {
rules: {

messages: {


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">


<select name="subject" class="subject" id="subject">
<option selected="" value="Choose a Subject">Choose a Subject</option>
<option value="subj1">Custom Application Development</option>
<option value="subj2">Industry Solutions</option>
<option value="subj3">Managed Service for Salesforce.com</option>



Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved