问题描述
HI全部,
我在页面中使用了一些jquery,只是为了验证文本框字段,
但是这使得我的表单的提交按钮被禁用,意味着在提交按钮上调用了验证,但是它没有回发或者我的意思是提前发布....
我是JQUERY的新手,所以任何人都可以指导我如何解决这个问题,
我试过并发现如果我不使用这个参考JQUERY类/ api或其他任何形式,表单开始正常工作....
< script type = text / javascriptsrc =script / jquery.validate.js>< / script>
以下是我的链接得到了使用的代码。
[ ^ ]
HI All,
I am using a bit of jquery in my page, just to validate a textbox field,
but that is making my form's Submit button disabled, mean validations are being called on submit button but its not doing postback or i mean posting ahead....
I am novice to JQUERY, so can anyone guide me how to solve that,,
I have tried and found that If i dont use this reference of JQUERY class/ api or whatever it is called, form started working fine....
<script type="text/javascript" src="script/jquery.validate.js"></script>
Following is the link from where i got the code to use.
http://www.c-sharpcorner.com/uploadfile/prathore/validation-using-jquery-with-asp-net/[^]
推荐答案
submitHandler: function(form) {
form.submit();
}
以下链接详细说明。
[]
:)
Following link explains it in detail.
http://stackoverflow.com/questions/11335992/html-page-with-jquery-refuses-to-submit[^]
:)
这篇关于使用JQUERY后,提交按钮被禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!