WordPress.org

Support

Support » Plugins and Hacks » Donation Goals » [Plugin: Donation Goals] Causes jQuery problems (my solution included)

[Plugin: Donation Goals] Causes jQuery problems (my solution included)

  • Hey, the donation-goal-widget.js file includes this line:
    var $jd = jQuery.noConflict();

    This causes any jQuery loaded after it to not work, because it relies on $ to reference jQuery.

    Instead, wrap your whole function in this:

    jQuery(function ($jd) {
    
    });

    and it will function without breaking jQuery scripts loaded after it.

    http://wordpress.org/extend/plugins/donate-goal/

  • The topic ‘[Plugin: Donation Goals] Causes jQuery problems (my solution included)’ is closed to new replies.
Skip to toolbar