Forum: Ruby on Rails RoR and pop-ups

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
98cdb2c7e471afe34f1fab10ef812570?d=identicon&s=25 jhn Vln (jimache)
on 2007-02-01 18:52
hi everyone,

Can some one please help me with a pop-up issue in RoR. I have link_to
in my page that calls a pop-up (<%= link_to "test", { :action => "test"
}, :popup => ['test_name', 'height=200,width=400']%> ), and in the
pop-up, i have two select boxes. For one of them i have an observe_field
that populates the second select box based on first one's selection.

My problem is that the action in the observe_field is never fired; i
tried including the controller's name and still no result (when called
from the pop-up never works, however it works fine if i use the same
code in my main page); i tried puting the two select boxes on my "main"
page and the code works fine.

Thank you for your help.

Sincerely,
This topic is locked and can not be replied to.