Saltar navegación

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

This support ticket is created hace 2 años, 6 meses. There's a good chance that you are reading advice that it now obsolete.

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.

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)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por romanB-3 hace 2 años, 6 meses.

Asistido por: Shane.

Autor
Mensajes
#2443581

On enlace oculto, 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 : enlace oculto

#2443645

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: 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!