HI guys, I've just run into an issue. Basically I'm working t a wordpress site, and there are some conflicts with the usage of the "$" sign so I used this in the document ready to allow me to use "$" in place of jQuery:
jQuery(document).ready(function($){
...
});
It works very well inside the document ready but in my script I have plenty of functions using the "$" and I'd like to be able to use that rather than go through it and replace all $ with jQuery, for example take one of the functions I have outside document ready:
function getNavigationStatus(){//whether navigation is open or closed
var isNav;
if($(".navigation").hasClass("open")){
isNav = true;
}
else{
isNav = false;
}
return isNav;
}
I need to be able to use $ rather than jQuery. Any idea (other than replacing every single $ of course)?
thanks