Link_to_remote, how to send "data" to another <div> when som


I try use link_to_remote to do a ajax update on my
when eveything is OK, the syetem returns data to the
ajax zone, but when there is something wrong, like the
entry wasn’t correct, I want to send data(a message)
to another zone (the zone is defined in the layout
(message zone used flash[:notice]) I was never able
send data to the other zone, because it is on the
layout, and I have to use render layout=>false.

So I wonder if there is some parameter I can set to
redirect data to another zone??? like :failure,

thanks you very much


The mind is its own place, and in itself.
Can make a Heaven of Hell, a Hell of Heaven.

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs