how can I insert the loading in my add-on?

netkingZ

Active member
how can I insert the loading in my add-on?
like this:
33p6c0y.jpg

To save time but I'm not uploading this, however I would like that to come out, of course only when you click on a submit button.

thanks
 
The form that the submit button submits should have a class of "AutoValidator"

e.g.

HTML:
<form action="somelink" method="post" class="xenForm AutoValidator" data-redirect="on">
    // your form code here
</form>
 
Top Bottom