On 8/17/07, John Resig <[EMAIL PROTECTED]> wrote:
>
>
> I've thought of this, as well. I also wanted to add a hook to allow:
>
> $(...).click(".toggle()")
>
> However, I'm currently leaning away from it (embedding code in strings
> is messy) in favor of another solution that I'm working on:
>
> $(...).onclick().toggle().end();


I've been working on implementing Dave Methvin's approach...there's just a
few details remaining...

$(...).onclick().readMind();

This will further be simplified as you'll be able to do: $(function(){
$.readMind(); });

Which will result in a final reduction to: $();

I'll send an announcment once I'm done...

-js

Reply via email to