Hi,
I am trying to set up a drop down menu. When the item on the drop down
list has been changed, I would like to display a textbox. Is there
anyway to execute RJS during in onclick or onchange event of the
select_tag?
Hi,
I am trying to set up a drop down menu. When the item on the drop down
list has been changed, I would like to display a textbox. Is there
anyway to execute RJS during in onclick or onchange event of the
select_tag?
I am trying to set up a drop down menu. When the item on the drop down
list has been changed, I would like to display a textbox. Is there
anyway to execute RJS during in onclick or onchange event of the
select_tag?
Wai,
Check out the observe_field prototype helper:
http://caboo.se/doc/classes/ActionView/Helpers/PrototypeHelper.html#M005064
That should be the ticket.
Hope this helps,
–
Zack C.
http://depixelate.com
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs