Title: jquery plugin not responding
Last modified: August 21, 2016

---

# jquery plugin not responding

 *  [Thomas](https://wordpress.org/support/users/thomaspapachuloch/)
 * (@thomaspapachuloch)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/jquery-plugin-not-responding/)
 * I am using the mailchimp plugin on my ajax driven website.
 * I include the signup form directly in my template with:
 * `mailchimpSF_signup_form();`
 * I also see that in <head> the mailchimp.js is loaded.
    But if I click on the “
   Signup” button in the form, the mailchimp.js is not executed. Strange is, that
   when I copy the whole code of mailchimp.js directly in a <script></script> tag
   in the template, the whole thing works.
 * And something other: By the wp_head(); function the mailchimp plugin includes
   jquery (from includes/js/jquery/) into my head. Before I included jquery (1.10.2)
   on a static way (not state of the art), so I removed this one and hoped it will
   work properly, because jquery is included now by wp_head(); But with that version
   of jquery (1.10.2) fomr wordpress, jquery is not loaded, everything is undefined.
 * Thx for your feedback or help.
    Thomas
 * [http://wordpress.org/plugins/mailchimp/](http://wordpress.org/plugins/mailchimp/)

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

 *  [mc_gabe](https://wordpress.org/support/users/mc_gabe/)
 * (@mc_gabe)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/jquery-plugin-not-responding/#post-4506290)
 * Hey Thomas,
    Thanks for writing in. We’re definitely happy to help however we
   can. In this case, though, we would need a bit more information to be able to
   try and find what the cause may be. Can you possibly provide a link to your site
   so we can take a look at it?
 * Thanks,
    Gabe
 *  Thread Starter [Thomas](https://wordpress.org/support/users/thomaspapachuloch/)
 * (@thomaspapachuloch)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/jquery-plugin-not-responding/#post-4506314)
 * Hi Gabe
 * The link to the site is: [http://www.landlieberadio.ch/#newsletter](http://www.landlieberadio.ch/#newsletter)
 * I think I figured out what problem #1 could be: mailchimp.js loaded only once
   at the initial first request of the page. if the form fields are not there, the
   form is not bound to the script. because the content of newsletter page is loaded
   by ajax, there is no new page reload…and mailchimp.js is not respndonding. thats
   how it looks now.
 * if I copy the whole script into my ajax page at the bottom, then it works.
 * thank you in advance!
    thomas
 *  [mc_dominic](https://wordpress.org/support/users/mc_dominic/)
 * (@mc_dominic)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/jquery-plugin-not-responding/#post-4506335)
 * Hi Thomas,
 * I’m glad you were able to solve the problem. When I tested your form, it seems
   to work correctly. Since you’re using an ajax site, copying the whole script 
   might work better. But since you’re copying the script future updates to the 
   plugin might cause problems. If you’re setting up a custom page, as an alternative
   you might consider using the MailChimp embed code instead. The javascript for
   the embed code is in the code, and it might avoid these problems with loading.
   [Here’s a link](http://kb.mailchimp.com/article/how-can-i-add-my-signup-form-on-my-website)
   to find that code in your MailChimp account. It’s up to you if you want to use
   it.
 * With your second problem, I’m still seeing jquery loaded in the head the static
   way. You might want to check out this page on properly adding jquery to your 
   theme. [http://matthewruddy.com/using-jquery-with-wordpress/](http://matthewruddy.com/using-jquery-with-wordpress/)
 * -mcd

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

The topic ‘jquery plugin not responding’ is closed to new replies.

 * ![](https://ps.w.org/mailchimp/assets/icon.svg?rev=3156997)
 * [Mailchimp List Subscribe Form](https://wordpress.org/plugins/mailchimp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [mc_dominic](https://wordpress.org/support/users/mc_dominic/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/jquery-plugin-not-responding/#post-4506335)
 * Status: not resolved