Usually you would use the following (which breaks mootools);
So how do you get around this issue? You need to use jQuery noConflict which defines a namespace to use and thus resolves the issue by using a custom variable rather than the dollar $.
You’ll need to change all $(). to $j().
So every time you use jQuery you’ll have to use your custom variable just after the dollar sign