here's your javascript code:
function submitForm() { document.myForm.submit(); } function delaySubmit() { setTimeout("submitForm()", 2000); //2000 is the time delay in milliseconds }here's your form code:
<form name="myForm"><input type="text" name="myTextBox" /> <input type="button" name="submitButton" value="Delayed Submit" onclick="delaySubmit()" /> </form>here's the actual:
No comments:
Post a Comment