简体   繁体   中英

Giving validations for drop down boxes

I am trying to add validations in my form. But I don't know where I am making mistake.
I have looked different examples from different sites.
They works fine with the jsfiddle solution but when I implement them in my application, they are not working.
My fiddle link is
http://jsfiddle.net/jq4V8/

Can any one please suggest where I am making mistake.
In application I am using this js file:

<script src="js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>

Probably you do not include external javascript file for validation. Please download the validation js files jquery.validate.min.js and additional-methods.js from:

jquery.validate.min.js and additional-methods.js

and copy into js folder and include the files:

<script src="js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>    
<script src="js/jquery.validate.min.js" type="text/javascript"></script>
<script src="js/additional-methods.js" type="text/javascript"></script>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM