| Author |
form is getting submitted when 'Refresh' button on the browser is clicked.
|
Madhu Bompaly
Greenhorn
Joined: Oct 11, 2007
Posts: 17
|
|
Hi every one, I have a form which is getting submitted when I click on the 'Refresh' button the browser,Iam submitting the form using Javascript function form.submit();. after I submit the from by clicking on submit button,and click on the Refresh button the form is getting is submitted again. for my submit button I have set input type="button". can some one please tell me how to correct this issue. Thanks, Madhu.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56528
|
|
|
Read this article and pay particular attention to the Post-Redirect-Get pattern.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: form is getting submitted when 'Refresh' button on the browser is clicked.
|
|
|