表单自动提交

来源:互联网 发布:幼儿园美工室使用制度 编辑:程序博客网 时间:2024/06/11 17:50

 

  
<html>
<head>
<script>
function submitForms()
{
setTimeout("document.getElementById('form1').submit()",1000);

}
</script>
</head>
<body onload="submitForms()">
<form id="form1" action="test.jsp"  name="Nform1">
<input type="text" name="action" value="studentselect">
</form>
</body>
</html>

 

原创粉丝点击