failsafe jQuery code

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-06-05T23:01:23Z Indexed on 2010/06/05 23:02 UTC
Read the original article Hit count: 397

Filed under:

Can anyone explain what the jquery documentation is exactly referring to with this statement: "the argument to write failsafe jQuery code using the $ alias, without relying on the global alias" when referring to using the following:

    jQuery(function($) {
});

I have been using jquery for a while now so understand what this code is doing to a certain extent but the phrase used in the documentation about writing failsafe jquery code puzzles me and i am unsure whether it is important or not.

© Stack Overflow or respective owner

Related posts about jQuery