User this sintax:

(function ($) {
  // code goes here
  // Here "$" is a jQuery reference

})(jQuery)

More detailed description is here:
http://jquery-howto.blogspot.com/2008/12/what-heck-is-function-jquery.html

-------------
Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com



On Mon, Jan 12, 2009 at 12:51 PM, Bluesapphire <michealg...@gmail.com> wrote:
>
> Hi!
>     I have used following things in separate JS file so no conflict
> will be there between JQUERY and other JS frameworks.
>
> a-
> var dom = {};
> dom.query = jQuery.noConflict(true);
>
> b-
> var jQ = jQuery.noConflict();
>
> c-
> jQuery.noConflict();
>
>
> But when I used jQ or others, FireBug gives error.
>
> But  in usage of  $ , there is no problem and all works fine.
>
>
> Can someone solve my problem.
>
> Thanks in advance
>

Reply via email to