Automatic form submission after specified time using javascript
Put following code after your form tag:
<script language="Javascript">
function doSubmit() {
//asubmit is the name of the SUBMIT button in the form
document.yourForm.asubmit.click();
}
//auto submit after 5 second
setTimeout("doSubmit()",5000);
</script>
1 Comments:
At 9:19 PM , Unknown said...
great script...but how to write script that submit given data to form after specific interval...like name, number etc?
Post a Comment
Subscribe to Post Comments [Atom]
<< Home