Jump to content

The forums are in maintenance (read-only) mode until further notice. If you search these forums, you may find the answer you need. Otherwise, Google and Stack Overflow are reliable resources; arguably faster ones, too. I apologize for any inconvenience. (For those concerned--and thanks for being so thoughtful, there's no cause for alarm, but after 12+ years running these forums in my "spare time", I'm opting for a much deserved break to recharge my depleted batteries.)


Can I Cancel A Form Automatically After Successfully Submitted.

  • Please log in to reply
1 reply to this topic

#1 thara


    Advanced Member

  • Members
  • PipPipPip
  • 55 posts

Posted 3 November 2011 - 9:27 AM

Hi.. all

I have a problem in my web site. There I have created a page call download.php and using it users can download song. I used a form to download button to display download box. after users click on download link i need to cancel it on that page. that mean I want to disappear it on download.php page. now when i click on browser's refresh button that download box still display on page. so any body can i help me to do it..


thanks in advance for any help....
  • 0

#2 Larry



  • Administrators
  • 4,399 posts
  • LocationState College, PA (USA)

Posted 4 November 2011 - 7:32 AM

You could use JavaScript to stop the form's submission but the obvious solution is just to use a link, not a form.
  • 0