首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > jQuery插件:表单验证和提交

jQuery插件:表单验证和提交

  • 资源大小:10.34 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: jquery plugin Validation form

资 源 简 介

Prior to using JQuery, I had developed Javascript object that validated forms prior to submission. I got the basic concept (and some code) from the book, “Beginning Ajax with PHP” by Lee Babin. I modified it a great deal. Once I began using JQuery, I converted the Javascript object to a JQuery plugin. Unlike most validation plugins which validate input on exit of the field (onBlur), the imValidateForm plugin validates the entire form once the user clicks the submit button. The plugin also handles the submission (ajaxally, of course) and allows you to disable the submit button to prevent double-clicking. The imValidate plugin will validate the following: Required Fields/Exclude Values Valid Email Either/Or (Either input 1 or input 2 must be entered) Valid values (Must be equal to) Checked Values (is the field checked) Is Numeric Is Alpha Only Meets Condition (==, !=, <, <=, >, >=) To view the documentation, go to: http://grasshopperpebbles.com/ajax

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP