首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > VB Dotnet >

在VB.net 中,如果进行,表单自动提交?解决方法

2012-02-12 
在VB.net 中,如果进行,表单自动提交??%@pagelanguage vb debug true %我曾用下面方法:scriptdoc

在VB.net 中,如果进行,表单自动提交??
<%@   page   language= "vb "   debug= "true "   %>

我曾用下面方法:
<script>
document.form.submit()
</script>
还是不行.

[解决办法]
或者加上这个
var theForm = document.forms[ 'Form1 '];
if (!theForm) {
theForm = document.Form1;
theForm.submit();

热点排行