Using scaffolded code, I create a new rails object and, when
successful, forward to show, at which point I display a notice with
the flash indicating all is well. Now, I want that flash notice to
fade away using rjs, however, I cannot achieve this. I am able render
the rjs using ajax but not on a redirect or page reload?
Can anyone help out with this?
rjs is meant to be used for Ajax requests. If you want to do some
fancy stuff with your flash notice, you’ll have to use something like
Prototype to do it.
On Aug 18, 7:45 am, “[email protected]” [email protected]
This (and other Ajaxy screencasts from Ryan B.) may be of help:
On Aug 18, 8:45 am, “[email protected]” [email protected]