阅读背景:

如何调用按钮单击事件的验证,这不是提交类型,而是按钮类型,没有表单?

来源:互联网 

I have been trying to figure this out, I know validation can be fired within a form as long as the button is of type submit. But I have a few other tabs on the view and when I use submit, it causes a posback and goes back to the first tab. I don't want that to happen so I put my validation in a function and changed the button type to a button and removed the form tag and tried calling the validation function on the button click event and its not firing. Is this possible to do without using a form tag?I have been trying to figure this out, I know v




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: