I have an sign in form in ASP.NET MVC 3
After clicking submit it is taking a bit time to submit the form because there is a lot of things taking place. as a result user may click the button once again thinking that something wrong and something very bad may happened.
So i just may enable/disable the button it is probably the easiest way to prevent second click, but i would rather change form post to ajax way.
Si what i am thinking to do: After user click submit i want to display popup/div saying that the request being processed and showing some kind of ajax lader there and after form being processed i want user to follow to the Action according with server controller logic(the client side doesn't know where user will be redirected.)
Is it possible to do ? What is you opinion? How can i do it better way?
Currently i am looking in to jQuery Form plugin may be it would help, but if you may suggest something it would be great.
Also just found this solution ajax - Prevent double click on submit but i think i still would like display popup with progress.