Forums

What are use cases of AJAX Call and Reload Action in Advance Listener?

kittisak 16 Jan, 2025

Hi Max

  Could you explane or show use cases of AJAX Call and Reload Action in Advance Listener?Thank you.

Max_admin 16 Jan, 2025
Answer
1 Likes

Hi Kittisak

You use this to call another form page using AJAX, but in AJAX call you will just call that page which may run PHP, you may also provide a javascript function to do something with the response from that page

in the example above, page2 will be called and whatever response (maybe using an HTML view or some JSON results) will be passed to a function "print_output" (if defined) which may do more work

In Reload you will be able to replace the calling element with response from the other page

in both cases the other page should have a different Page Group in order to be called independently

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.