On Jan 6, 2:17 pm, knal <knalp...@gmail.com> wrote:
> BTW It also works without the " return this.each() { " part!

Yes, but that allows you to continue chaining, i.e.

    $(this).closest(".project").closeProject().css({color: "blue"});

or whatever.  This is the usual technique with jQuery plug-ins.

  -- Scott

Reply via email to