Forum: Ruby on Rails popup

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
0338d257688889ebba17b3215fef52e6?d=identicon&s=25 Chika (Guest)
on 2007-02-05 15:56
Hi everyona, I need you all...
I`m having some trouble with popup. I have a form that has a link that
opens a popup so that the user can make a search, then the result should
be loaded in the form; to do so I need to pass some variables in the
popup link, but if I do so, the popup doesn`t work.

So what I have is this:
<%= link_to 'Buscar Relacionadora', '../../secretarias/search',
                   :popup => ['Buscar Secretaria',

and what I need is something closer to this:
 <%= link_to 'Buscar Relacionadora', :contoller=> 'secretarias',
:action=> 'search',:trabajador_id =>,
                   :popup => ['Buscar Secretaria',

Any posible solution?
I wish I don't need javascript..
20139de0a00fc8675e86d52f12f988ad?d=identicon&s=25 Jamez (Guest)
on 2007-02-06 11:16
(Received via mailing list)
Try posting your question on You might get your answer
408ef3d328434279d828e7aa2d92b7a8?d=identicon&s=25 Neha Chopra (neha_rohan)
on 2008-02-01 17:38
I feel javascript will be the way to do it...
i also have a similar problem and i have used a javascript popup, after
that form is submitted i need to update a DOM element in my main
window...but have been unable to do so...

did u find any answers to ur problem. If yes, please share them with me.

Thanks in advance.
This topic is locked and can not be replied to.