That code works perfect..<html>
<head>
<script language="JavaScript" type="text/javascript">
var t = setTimeout("document.myform.submit();",2000); //2 seconds measured in miliseconds
</script>
</head>
<body>
<form name="myform" action="nextpage.html" method="post">
</form>
</body>
</html>
But, I wanna make an auto submit form with onClick button..it doesn't work
it doesn't work anymore just because of this code :<html>
<head>
<script language="JavaScript" type="text/javascript">
var t = setTimeout("document.myform.submit();",2000); //2 seconds measured in miliseconds
</script>
</head>
<body>
<form name="myform" action="nextpage.html" method="post">
<input type="name" size="12" maxlength="6" id="pswd" />
<input type="Submit" value="LOGIN" name="value(Submit)" onclick="javascript:return Login_Form_Validator(document.parameter)" onmouseover="this.style.cursor='hand'"/>
</form>
</body>
</html>
if I delete this code, it works perfectly<input type="Submit" value="LOGIN" name="value(Submit)" onclick="javascript:return Login_Form_Validator(document.parameter)" onmouseover="this.style.cursor='hand'"/>
Can Anyone help me to solve this? thanks palz
Bookmarks