For the most part .noConflict() is working fine for me, for example:
$jq('#no-thanks').click( function(event) {
$jq("#olsu").fadeOut();
});
but what is the syntax for this:
$.cookie("example", "foo", { expires: 7 });
I’ve tried:
$jq.cookie("example", "foo", { expires: 7 })
and
$jq().cookie("example", "foo", { expires: 7 })
any ideas?
This should work:
Now you can use
$without fear of conflicting with other libraries as long as you put your jQuery code in above self-invoking anonymous function.More Explanation Here