Title: Callback function for AJAX
Last modified: December 13, 2017

---

# Callback function for AJAX

 *  Resolved [gaanbaksho](https://wordpress.org/support/users/gaanbaksho/)
 * (@gaanbaksho)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/callback-function-for-ajax/)
 * HI there, the plugin is not loading in ajax website, do you have any callback
   code for ajax ?? please help. for experience visit our site [http://www.gaanbaksho.com.au](http://www.gaanbaksho.com.au)
   then click “submit event” or contact us page. thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcallback-function-for-ajax%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Jess Quig](https://wordpress.org/support/users/jquigam/)
 * (@jquigam)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/callback-function-for-ajax/#post-9780392)
 * Hi gaanbaksho,
 * If your theme is using AJAX to load pages, our form assets are probably not loading.
   On standard sites, we conserve site resources by only loading our form’s assets
   on pages where a form is detected — however, themes that load pages with AJAX
   avoid a true refresh, so the header and footer (where assets like this get added)
   don’t update.
 * You should be able to get around this, though, by loading our form assets site-
   wide. To do this, go to WPForms > Settings and check the box labeled ‘Load Assets
   Globally’ (shown in this screenshot: [http://cloud.supportally.com/391M1D0H202A](http://cloud.supportally.com/391M1D0H202A)).
 * Could you give that a try, refresh the site, and let me know if this starts working
   for you?
 * Thanks! 🙂
 *  Thread Starter [gaanbaksho](https://wordpress.org/support/users/gaanbaksho/)
 * (@gaanbaksho)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/callback-function-for-ajax/#post-9781035)
 * Yess….. Its worked, Fantastic !!!!! Thanks guys, really awesome Plugin
 *  [Jess Quig](https://wordpress.org/support/users/jquigam/)
 * (@jquigam)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/callback-function-for-ajax/#post-9782469)
 * Hi gaanbaksho,
 * Excellent – glad to hear it!
 * Have a good one 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Callback function for AJAX’ is closed to new replies.

 * ![](https://ps.w.org/wpforms-lite/assets/icon.svg?rev=3254748)
 * [WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More](https://wordpress.org/plugins/wpforms-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpforms-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpforms-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpforms-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpforms-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpforms-lite/reviews/)

## Tags

 * [ajax loading](https://wordpress.org/support/topic-tag/ajax-loading/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jess Quig](https://wordpress.org/support/users/jquigam/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/callback-function-for-ajax/#post-9782469)
 * Status: resolved