Page 1 of 1

Ajaxify page reloading…?

Posted: Tue Jul 18, 2017 9:54 pm
by infinitiv
So I have some.php that assigns its result to a template after clicking on the submit button. Everything works fine but I don’t want the page to refresh after proceeding the form. Is there a possibility to ajaxify it?

Adding action="some" and data-ajax="true" to the <form> element doesn’t do the trick. Template probably sends the data from its form to the some.php which then assigns its results but the template itself doesn’t refresh to show it. Clicking the submit button does nothing.

Re: Ajaxify page reloading…?

Posted: Wed Jul 19, 2017 7:48 am
by infinitiv
I still haven’t found what I’m looking for and although I think it can be a bit annoying I could really use a help on this one. :oops:

Re: Ajaxify page reloading…?

Posted: Wed Jul 19, 2017 9:58 am
by RMcGirr83
Look at any extension that uses ajax. My who posted extension uses ajax so that should be a good start.