How to update element on view during onclick with RJS?

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


Check out the observe_field prototype helper:

That should be the ticket.

Hope this helps,