Non-colliding $ function for jQuery


/ Published in: jQuery
Save to your folder(s)

A usefull way to use the $ fonction with other frameworks that use it also.


Copy this code and paste it in your HTML
  1. (function($) {
  2. // Within this block, $ is a reference to jQuery
  3. // Neat, huh?
  4. })(jQuery);

URL: http://simonwillison.net/2007/Aug/15/jquery/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.