jQuery chaining

2 messages Options
Embed this post
Permalink
Robert Sirois

jQuery chaining

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
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

Re: jQuery chaining

Reply Threaded More More options
Print post
Permalink
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