Submit Form after Delay

[Total: 0    Average: 0/5]

This shows how to have a forum submit follow another javascript action.

Head Code:

<script>
function abc(v){alert(v);}
</script>

Body Code:

<form name=abcform>
<INPUT type=button value="test" onClick="abc('x');setTimeout('document.abcform.submit()',2000);"> 
</form>

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *