I have this html code:
<form name="input" action="html_form_action.asp" method="post" id="formID">
Username: <input type="text" name="user" />
<input type="submit" value="Submit" />
</form>
<script>
for (i=0;i<10;i++) {document.getElementById('formID').submit; }
</script>
I'm trying to submit the same thing several times.
But as you can guess, it always submits once, and refresh the page.
How can I avoid this and submit as many times I want?