netkingZ Active member Oct 10, 2013 #1 how can I insert the loading in my add-on? like this: 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
how can I insert the loading in my add-on? like this: 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
Jeremy in memoriam 1991-2020 Oct 10, 2013 #2 That automatically appears when you use XenForo.ajax() IIRC.
netkingZ Active member Oct 10, 2013 #3 Jeremy said: That automatically appears when you use XenForo.ajax() IIRC. Click to expand... how do I use XenForo.ajax() IIRC with the submit button?
Jeremy said: That automatically appears when you use XenForo.ajax() IIRC. Click to expand... how do I use XenForo.ajax() IIRC with the submit button?
Chris D XenForo developer Staff member Oct 10, 2013 #4 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>
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>
netkingZ Active member Oct 10, 2013 #5 Chris Deeming said: 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> Click to expand... Thank you ... works.
Chris Deeming said: 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> Click to expand... Thank you ... works.