> I am writing some code using end() method and really, I don't see the
> time where
> ".onclick() might return a statement that /requires/ a .end() to exist"
>
> Some example??

Right, that's because it doesn't exist :-) Only the following code is
guaranteed to work:

$("div.section")
  .find("dt")
     .addClass("section")
     .click(function(){
        $(this).next().toggle().end()
     })
  .end()
  .find("dd")
     .hide()
     .filter(":first")
        .show()
     .end()
  .end();

Reply via email to