homepage Welcome to WebmasterWorld Guest from 54.242.231.109
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
toplisek




msg:4546744
 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:
[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>

 

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