Hello all, 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? j
on 18.08.2008 15:46
on 18.08.2008 20:23
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, "johnmcau...@gmail.com" <johnmcau...@gmail.com>
on 19.08.2008 20:26
This (and other Ajaxy screencasts from Ryan Bates) may be of help: http://railscasts.com/episodes/43-ajax-with-rjs -Whinnery On Aug 18, 8:45 am, "johnmcau...@gmail.com" <johnmcau...@gmail.com>