表单验证问题
我正在使用 jQuery 验证插件 进行表单验证。我面临的问题是当我有内联标签时。
例如:
<input type="text" name="myinput" value="Enter your ....">
这是验证失败的示例案例,因为为输入字段设置了“值”。有什么解决方法吗?如何忽略默认/标签值?
I am using jQuery validation plugin for form validation. The problem I am facing is when I have inline labels..
For Example:
<input type="text" name="myinput" value="Enter your ....">
This is the sample case where validation is failing because the 'value' is set for input field. Is there any workaround? How do I ignore default/label values?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为你应该为此创建/添加一个方法..
然后使用
exception : true
...更多关于 addMethod()
I think you should make/add a method for that..
then use
exception : true
...more on addMethod()