One click TWO submits (IE7)
Hi,
I have a problem with the following code:
<input name="next" value="next" id="nextBtn" onclick="document.form1.submit()" type="submit">
When clicking the link/button, IE(7) submits (POSTs) the form twice, the first time *without* the "next" paramater (the link itself) and then *with* the parameter.
Can anyone explain why this happens?
I think the problem will be solved by either removing the type=submit or the onclick-event, but it is not my code, so I'd like to get a better understanding of what's happening first...