Showing results for 
Search instead for 
Did you mean: 

Show loader on post form

Show loader on post form

Hi @ all!


I need a little help. I developed a module, which will send a form with post and the target file will save some data in the SQL database and send an email to the customer. Everything works fine, but unfortunately that takes 5 or 6 second.


I saw a nice bootstrap solution here:


But I can't get it to work in my phtml file. The button changes only if the target page is loaded (I can see that by using the back-button), but he should change, and the the action should start.


Can somebody help me? Or give an alternative?


Greetings from Germany.




Re: Show loader on post form