>> Authoring guidelines say "Always use jQuery instead of $ inside your >> plugin code - that allows users to change the alias for jQuery in a >> single place."
> Does using jQuery instead of $ concern absolutely every case of $. > For example code such as: > > $(this).html() should be jQuery(this).html() Yes, every use of $() in a plugin should be jQuery() to allow jQuery to be mixed with other frameworks like prototype.js that use $ for their own things. This rule is mainly there so that any plugin you write will automatically work in those situations. Still, if you're writing a plugin only for your personal (well, non-public) use and you're not using prototype.js, then you can freely use $() in plugins because there will be no conflict. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
