views:

106

answers:

0

Hey All,

I'm currently using the facebox_render plugin to create modal popups in my rails app. What I'm not sure how to do though is as follows:

If i have a form that is rendered to the facebox, when that form is submitted (update route in my controller), how do I redirect the renderer BACK to the current facebox.

Essentially, if I want to have a two step process that is presented as a popup, once step 1 is done, and you click "continue", it should load step 2 into the same modal dialog (facebox).

I'm using this plugin to get away from managing the javascript myself, but if it's easier to do with some other modal lightbox, I'm open to suggestions