Title: Change Callback Function Not Working
Last modified: December 9, 2019

---

# Change Callback Function Not Working

 *  [robertsonforbes](https://wordpress.org/support/users/robertsonforbes/)
 * (@robertsonforbes)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/change-callback-function-not-working/)
 * Greetings,
    I ran across the Callback Functions for ALM and I can definitely 
   leverage these, but even when I paste the default code example inside of script
   tags inside of my alm_template, the log doesn’t get written to console.
 *     ```
       window.almOnChange = function(alm){
           console.log("Ajax Load More is loading...");
       };
       ```
   
 * docs here:
    [https://connekthq.com/plugins/ajax-load-more/docs/callback-functions/](https://connekthq.com/plugins/ajax-load-more/docs/callback-functions/)
 * Is there something that I am missing?
 * Thanks!
    Forbes

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

 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/change-callback-function-not-working/#post-12220712)
 * Hi [@robertsonforbes](https://wordpress.org/support/users/robertsonforbes/),
   
   Just tested and almOnChange is working in the latest version.
 * This code wouldn’t go inside the Repeater Template though, it would go inside
   your script file, template or the footer.php.
 * Hope that helps.
 *  Thread Starter [robertsonforbes](https://wordpress.org/support/users/robertsonforbes/)
 * (@robertsonforbes)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/change-callback-function-not-working/#post-12220717)
 * Just a heads-up… I have scrolled to allow the next post to load to test this.
 *  Thread Starter [robertsonforbes](https://wordpress.org/support/users/robertsonforbes/)
 * (@robertsonforbes)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/change-callback-function-not-working/#post-12220726)
 * [@dcooney](https://wordpress.org/support/users/dcooney/) I gave that a shot and
   that didn’t work either. 🙁
 * both before and after the wp_footer() call.
 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/change-callback-function-not-working/#post-12220729)
 * Link please
 *  Thread Starter [robertsonforbes](https://wordpress.org/support/users/robertsonforbes/)
 * (@robertsonforbes)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/change-callback-function-not-working/#post-12220757)
 * Its behind a coming soon plugin ATM. I can deactivate it for you so you can see
   it. Do you have any way I can DM it to you?
 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/change-callback-function-not-working/#post-12220763)
 * sure.
    [https://connekthq.com/plugins/ajax-load-more/support/](https://connekthq.com/plugins/ajax-load-more/support/)
 *  Thread Starter [robertsonforbes](https://wordpress.org/support/users/robertsonforbes/)
 * (@robertsonforbes)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/change-callback-function-not-working/#post-12220780)
 * ok I submitted a ticket. Thanks!

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

The topic ‘Change Callback Function Not Working’ is closed to new replies.

 * ![](https://ps.w.org/ajax-load-more/assets/icon-256x256.png?rev=2944639)
 * [Ajax Load More – Infinite Scroll, Load More, & Lazy Load](https://wordpress.org/plugins/ajax-load-more/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-load-more/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-load-more/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-load-more/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-load-more/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-load-more/reviews/)

## Tags

 * [ALM](https://wordpress.org/support/topic-tag/alm/)
 * [callback](https://wordpress.org/support/topic-tag/callback/)

 * 7 replies
 * 2 participants
 * Last reply from: [robertsonforbes](https://wordpress.org/support/users/robertsonforbes/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/change-callback-function-not-working/#post-12220780)
 * Status: not resolved