Topic: Popup window in Rails 3.1

Hi,

I need to open a popup window with a form and submit button, while the background will be gray and disabled the parent window.
I found the Facebox and the FaceboxRender solutions, but they didn't work for me.
I get a routing Error: uninitialized constant ApplicationController::FaceboxRender
I also found a pure java script solutions, but I prefer a solution in rails 3.1 (with or without java script).

I use rails 3.1, ruby 1.9.2 and jquery 1.6.1

Can anyone help me? Please!

Thanks,
Anna.

Re: Popup window in Rails 3.1

I don't use rails for anything but seen this in jquery :

Since you are using jquery - should not be too hard to implement:

jQuery BlockUI Plugin (v2)

http://www.malsup.com/jquery/block/#demos


First example is a form...