See the $.noConflict() docs:
http://docs.jquery.com/Core/jQuery.noConflict

var j = *jQuery.noConflict*();
// Do something with jQuery
j("div p").hide <http://docs.jquery.com/Effects/hide>();
// Do something with another library's $()
$("content").style.display = 'none';


-Dan

On Tue, Oct 27, 2009 at 10:25 AM, El Greg <greglaval...@gmail.com> wrote:

>
> I'm interested in namespacing jQuery to something like $myjQ.  or myjQ.
> $ and wondering what the best way is to do it.  I will potentially be
> using my version of jQuery on other pages that are running other
> versions of jQuery - hence the idea to rename it completely so that I
> have control over version, plugins, etc.  I thought about just doing a
> find and replace on the word "jQuery" in the source, but I'm hoping
> there's an easier way.
>
> Thanks!
>

Reply via email to