Welcome to WebmasterWorld Guest from 50.16.84.67

Forum Moderators: open

Listbox and form validation with jQuery

   
12:07 pm on Feb 19, 2013 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



I like to set listbox in the correct way.

How to do this with jQuery and validation like:
[bassistance.de...]

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

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

},
messages: {

},
});
});
</script>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

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

<head>
<title></title>
</head>

<body>
<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>
</select>
</body>

</html>
 

Featured Threads

Hot Threads This Week

Hot Threads This Month