Multiple effects during AJAX callbacks

Hey all,
I’ve done some searching online and looking through the Agile book but
can’t seem to find how one can put multiple effects in a single rails
callback…

As an example:

form_remote_tag(:update => something_element,
:url => { :action => some_action }
:loading => do something
:complete => “new Effect…” AND “new Effect”
)

How would I accomplish adding two effects for the :complete callback?
(sorry if this is a n00b question)

Thanks,
Russ

Russell Dsa wrote:

            :complete => "new Effect..." AND "new Effect"
           )

How would I accomplish adding two effects for the :complete callback?
(sorry if this is a n00b question)

Thanks,
Russ

Checkout RJS. I have a list of sources that should be helpful at the
bottom of
http://blog.mattmargolis.net/articles/2006/06/14/rjs-headache-or-savior

Matthew M.
blog.mattmargolis.net

Matthew M. wrote:

Russell Dsa wrote:

            :complete => "new Effect..." AND "new Effect"
           )

How would I accomplish adding two effects for the :complete callback?
(sorry if this is a n00b question)

Thanks,
Russ

Checkout RJS. I have a list of sources that should be helpful at the
bottom of
http://blog.mattmargolis.net/articles/2006/06/14/rjs-headache-or-savior

Matthew M.
blog.mattmargolis.net

Thanks for the reply Matthew. I am indeed familiar with RJS…I was just
hoping there was a more “convenient” way of doing it directly in the
input field.

Russ

Ezra Z. wrote:

On Oct 3, 2006, at 11:23 PM, Russell Dsa wrote:

Thanks,

Thanks for the reply Matthew. I am indeed familiar with RJS…I was
just
hoping there was a more “convenient” way of doing it directly in the
input field.

Russ

You can always just put multiple statements in there:

:complete => “new Effect…; new Effect…”

-Ezra

Sweet, Thanks Ezra!

Russ

On Oct 3, 2006, at 11:23 PM, Russell Dsa wrote:

Thanks,

Thanks for the reply Matthew. I am indeed familiar with RJS…I was
just
hoping there was a more “convenient” way of doing it directly in the
input field.

Russ

You can always just put multiple statements in there:

:complete => “new Effect…; new Effect…”

-Ezra