aspose file tools*
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
Author

from is getting submitted when 'Refresh' button 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: 60057
    
  65

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: from is getting submitted when 'Refresh' button is clicked
 
Similar Threads
Prob while refresh the page in weblogic8.1 workshop
Browser back button
form is getting submitted when 'Refresh' button on the browser is clicked.
Submit form and close window
Problem when refresh the page in WebLogic 8.1 Struts