Back to the Shapespark home page

$.ajax is not a function

Hello everyone !

I’m trying to implement some ajax in my visit. I put the tag to import Jquery in the of the index.php.

Basically, it doesn’t work. I get a “$.ajax is not a function” error in the console.

When removing everything about shapespark, it works fine.

Does anyone have a solution?


There is a naming conflict between the $ function defined by jQuery and Shapespark’s internal function. We have already renamed our function, and the version which avoids the conflict is available for online scenes, but not yet in the desktop application.

Until the next release of the desktop application you can avoid conflict on the jQuery side:

That works perfectly ! Thanks a lot for the quick answer ! :slight_smile: