1. 首页
  2. 行业
  3. 互联网
  4. JQuery与JS里submit()的区别示例介绍

JQuery与JS里submit()的区别示例介绍

上传者: 2020-12-16 06:32:03上传 PDF文件 30.87KB 热度 11次
ASP.NET 的服务器控件回发是使用这一段JS代码: 代码如下: var theForm = document.forms[‘form1’]; if (!theForm) { theForm = document.form1; } function __doPostBack(eventTarget, eventArgument) { if (!theForm.onsubmit || (theForm.onsubmit() != false)) { theForm.__EVENTTARGET.value = eventTarget; theForm.__EVENTARGUMENT.value
用户评论