MailChimp List Subscribe Form
[mailchimp] Javascript error on email validation (3 posts)

  1. mvandemar
    Posted 3 years ago #

    I am getting the following Javascript (jQuery) error upon a successful email submission in the form in the footer of a site I am working on:

    Timestamp: 08/13/2012 01:39:51 PM
    Error: TypeError: $ is not a function
    Source File: http://chefsdev.blogsblogsblogs.com/awards/motts-apple-juice/
    Line: 477

    If the validation fails I get the proper fade-out warning, but on a successful validation I get the error and no message (although the form does submit). Any ideas why, or of a workaround? I am willing to edit the mailchimp plugin if necessary. In searching the forums it looks like this bug has been around for a while:




  2. mvandemar
    Posted 3 years ago #

    Actually, never mind. It wasn't the plugin, it was Javascript that was copy and pasted into a widget, although it was modified from the output of the plugin. The issue was with the function using the shorthand $() instead of the full jQuery() function. I replaced all instances of $( with jQuery( and it resolved the conflict.

  3. mc_nate
    Plugin Author

    Posted 3 years ago #

    Awesome, glad to hear things got sorted!

    Let us know if you run into any other weirdness. :)


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MailChimp List Subscribe Form
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic