在asp.net javascript中优化表单提交速度
我目前正在处理一个asp.net应用程序,并尝试发布一个表单数据,但使用以下代码时,表单提交会延迟:在asp.net javascript中优化表单提交速度,javascript,jquery,asp.net,forms,web-config,Javascript,Jquery,Asp.net,Forms,Web Config,我目前正在处理一个asp.net应用程序,并尝试发布一个表单数据,但使用以下代码时,表单提交会延迟: window.document.frmlogin.action = "LoginCheck.aspx" window.document.frmlogin.method = "post" window.document.frmlogin.submit() 我的网络配置文件如下: 如何优化上述代码以更快地提交表单 <appSettings
window.document.frmlogin.action = "LoginCheck.aspx"
window.document.frmlogin.method = "post"
window.document.frmlogin.submit()
我的网络配置文件如下:
如何优化上述代码以更快地提交表单
<appSettings/>
<connectionStrings/>
<system.web>
<compilation debug="true" >
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows" />
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
</system.web>