Vaildate表单输入使用Ajax和regex [英] Vaildate form input Using Ajax and regex

查看:82
本文介绍了Vaildate表单输入使用Ajax和regex的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Web表单应用程序,其中有不同的表单来获取用户数据。我在输入表单中使用正则表达式只是作为验证表达式。但我想检查用户输入并快速响应他关于他的输入数据是什么是使用ajax添加和检查非空的输入,我的字段标签是,名称(只是字母和空格),rollno(数字+ /),电话没有等

解决方案

< blockquote>在此处阅读: http://www.designchemical.com/lab/jquery/demo/jquery_ajax_form_submit_with_validation.htm [ ^ ]

i have a web form application ,in which have different form to get user data.i have used regex in the input form simply as validation expression.But i want to check user input and quick response him about his input data that what is to add and check the input for not empty using ajax ,my fields label are ,name (just alphabet and space),rollno(digits+/ ) ,phone no etc

解决方案

Read here : http://www.designchemical.com/lab/jquery/demo/jquery_ajax_form_submit_with_validation.htm[^]


这篇关于Vaildate表单输入使用Ajax和regex的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆