views:

21

answers:

0

I have an animated gif as a progress indicator that I am using with the AjaxBeginForm. If I click the stop button on the browser while the gif is showing the animation will stop.

However when I click on the form again to submit the gif does not start animating again but the data was submitted.

So my question is,

  1. How do I remove the gif when the browser's stop is pressed? or
  2. How do I restart the animation when the form button is pressed?