1 Answer 1
You can use noConflict
like
var $j = jQuery.noConflict();
answered Jul 5, 2015 at 7:56
Abdus Salam
3862 gold badges7 silver badges22 bronze badges
-
1Add this in script of vertical tab?Elham Gdz– Elham Gdz2015年07月05日 08:06:59 +00:00Commented Jul 5, 2015 at 8:06
-
no problem. set top of script and all $ convert to $j (only this script)Abdus Salam– Abdus Salam2015年07月05日 08:41:40 +00:00Commented Jul 5, 2015 at 8:41
-
-
If you've done as Abdus said and made sure all jquery files use $j instead of ,ドル then also make sure 1. there is only one instance of jquery on the page 2. noconflict comes right after jquery is called. Otherwise can you provide the error message you see in the console?MW Millar– MW Millar2015年07月05日 09:37:01 +00:00Commented Jul 5, 2015 at 9:37
-
1I found where is the problem, I add
jquery-1.10.2.min.jsand I havejquery-1.7.1.jsin theme. I removejquery-1.10.2.min.jsand use what Abdus said and all things work good.Elham Gdz– Elham Gdz2015年07月05日 09:50:10 +00:00Commented Jul 5, 2015 at 9:50
default