
js
m_1988
这个作者很懒,什么都没留下…
展开
-
验证简单邮箱并提交到后台,验证邮箱不通过则按钮是不可以用(disabled)
My JSP 'index.jsp' starting page $(function() { $("#email").blur(function() { if (document.getElementById("semail").innerHTML == "邮箱格式正确") { $("#cmfBtn").removeA原创 2012-09-08 20:58:41 · 607 阅读 · 0 评论 -
jquery validate 修改错误信息的显示位置
问题 我的问题是这样的: 处理后 解决方法 一般都是会显示在input框的后面,而自己需要指定位置。可以如下设置: jQuery.validator.setDefaults({ debug: true, errorElement: 'div', errorPlacement原创 2015-10-12 15:54:16 · 11544 阅读 · 0 评论