Skip Navigation

[Resolved] #391 Uncaught TypeError: $ is not a function

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by romanB-3 1 year, 8 months ago.

Assisted by: Shane.

Author
Posts
#2443581

On hidden link, under the tabbed list, when I click "Voir sur la carte" it throws a console error : "Uncaught TypeError: $ is not a function"

Code is :

jQuery(".js-wpv-addon-maps-focus-map").click(function() {
    jQuery('html, body').animate({
        scrollTop: $("#js-wpv-addon-maps-render-carte-points-de-vente").offset().top - 100
    }, 1000);
});

jQuery( document ).ready(function(jQuery) {
    jQuery('.panel-heading').click(function(e){
    	jQuery('.panel-collapse').removeClass('in');
    });
});

Thanks.

Note : hidden link

#2443645

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Roman,

Thank you for getting in touch.

I can see on line 3 you have a $, can you replace it with jQuery.

Thanks,
Shane

#2443665

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.