jQuery chaining

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

jQuery chaining

Robert Sirois
How is that you chain in jQuery? I see there is an andSelf method, but I am not quite sure how to use it. The purpose is to have several functions in one <'
onClick:'> message.

Thanks, RS


Windows Live™: Keep your life in sync. Check it out.
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: jQuery chaining

Lukas Renggli
Use the #, operator to concatenate several functions:

    ...
    onClick: (html jQuery this hide) , (html jQuery: '.foo') show

Lukas

On Mon, Jun 15, 2009 at 12:44 AM, Robert Sirois<[hidden email]> wrote:

> How is that you chain in jQuery? I see there is an andSelf method, but I am
> not quite sure how to use it. The purpose is to have several functions in
> one <'
> onClick:'> message.
>
> Thanks, RS
>
> ________________________________
> Windows Live™: Keep your life in sync. Check it out.
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>



--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside