I am trying to find the correct jquery plugin to validate a few input elements on my page. I would like to be able to have the validation happen on the fly and if any of the validations fail it will call a function. I have been researching this and I can not find a good example on how to do this or what plugin to use. I ultimately just want to validate a few input fields such as first name, last name, email, phone, etc. and if any of them fail the Submit开发者_C百科 button is disabled. Any ideas?
Try this one -- looks like it does what you want.
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
精彩评论