Uncaught TypeError $ after enqueuing js file

l am getting a uncaught error from the frontend.js when it runs. its not initializing the jquery l wrote for a module to run an accordion slider. In my html mockup the accordion slider is using jquery ver 2.13 and jquery 1.13.3. l thought of dequeue jquery scripts running beaver builder and enqueuing the version of jquery that will run the slider. My concern is that will it affect the whole site? Secondly should l just dequeue the script inside of the custom plugin module.


You can’t run two versions of jQuery as they will conflict with one another. You should be able to use the jquery thats included in WordPress. Have you tried that?

Can you provide a link to the slider you’re trying to use.