jQuery not working (SOLUTION)
Solution 1
Make sure that first library script loaded on your page.
load both scripts in <head> tag before jquery script
Solution 2
if theme jquery is not working then open your theme js file and paste this code on the top of your file
var $ = jQuery;
this will remove js conflicts from your files .
Solution 3
Don’t load two different javascript library versions, only one is ever needed.so chcek in your file that jquery is not load twice.
Related Posts
how to solve ReferenceError: $ is not defined problem jquery
Jquery is undefined problem solution
Solution 1
Make sure that first library script loaded on your page.
load both scripts in <head> tag before jquery script
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
Solution 2
if theme jquery is not working then open your theme js file and paste this code on the top of your file
var $ = jQuery;
this will remove js conflicts from your files .
Solution 3
Don’t load two different javascript library versions, only one is ever needed.so chcek in your file that jquery is not load twice.
Related Posts
how to solve ReferenceError: $ is not defined problem jquery
Jquery is undefined problem solution
Comments
Post a Comment