How to open a pop-up page in rails 3 and load data from database

I am using ruby-on-rails + psql

I have list of pages. On some page click I have to open page in pop-up.

How I’ll load data in that pop-up for specific page.

On 19 November 2012 12:40, Manish N. [email protected] wrote:

I am using ruby-on-rails + psql

I have list of pages. On some page click I have to open page in pop-up.

How I’ll load data in that pop-up for specific page.

Are you opening it using javascript, without contacting the server, or
ajax?

If javascript then you will have to provide all the data it needs to
the view from which it pops, if ajax then provide the data in the
normal way in the ajax action.

Colin

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