> Not sure when to use jQuery.foo versus jQuery.fn.foo

jQuery.foo just creates a function on the jQuery object (technically,
on the constructor function).  jQuery.fn.foo creates a function on the
prototype object of the jQuery object.  If you want your function to
be available to all jQuery object instances, and to be chainable, use
jQuery.fn.foo notation.

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to