wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes from is getting submitted when 'Refresh' button is clicked Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic

from is getting submitted when 'Refresh' button is clicked

Madhu Bompaly

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.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60774

Please do not post the same question more than once. Continue any discussion in your original post.
[ October 26, 2007: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Consider Paul's rocket mass heater.
subject: from is getting submitted when 'Refresh' button is clicked
Similar Threads
Submit form and close window
Browser back button
form is getting submitted when 'Refresh' button on the browser is clicked.
Problem when refresh the page in WebLogic 8.1 Struts
Prob while refresh the page in weblogic8.1 workshop