WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. mvandemar
    Member
    Posted 1 year 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:

    http://wordpress.org/support/topic/mailchimp-embed-not-showing-success-response?replies=8

    Thanks.

    http://wordpress.org/extend/plugins/mailchimp/

  2. mvandemar
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    Awesome, glad to hear things got sorted!

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

    Cheers

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic