I’ve been able to succesfully queue page.visual_effect commands in my
RJS templates. Each command will wait to execute until the previous
command is done executing.
But I’d also like to execute a page.replace_html command AFTER the
page.visual_effect commands. I have a series of five DIVs:
When the user clicks on div1, a page.visual_effect command is executed
in div1 disappears. At this point, I want to execute a
page.replace_html command on my divs. Right now, the visual_effect and
replace_html execute in parallel, so you never see the visual_effect
Can anyone help me with this?
Thanks in advance!