On Dec 3, 6:21 pm, SLR <[EMAIL PROTECTED]> wrote:
> So if I understand this correctly, essentially the line is execute
> from left to right and returns the current object after each method
> completes?
>
> For Example:
>
> Obj.method1().method2().method3()
>
> This would do the following:
> 1)   Calls method 1 for the orignal Obj
> 2)   Calls method 2  for the obj that is returned from method 1
> 3)   Calls method 3 for the obj returned from method 2
> 4)   etc...
>
> Is this correct?

Yeap!

See John Resig's post for a discussion about 'ultra-chaining':
http://ejohn.org/blog/ultra-chaining-with-jquery/

- ricardo

Reply via email to