Hi Matt,

On Thu, 2009-06-25 at 18:31 +0200, Matt Young wrote:
> Trying to update a text field on a page with the value from a drop down
> select menu.  Having a hard time accessing the value in the menu.  Any
> help would be great! :-)

The basics are to put an observe_field on the drop down with a url that
does whatever processing you need to do to construct the update you want
to do and either a) use the :update option for observe_field, or b) use
RJS to do the update.  The :update option limits you to a single DOM
element in terms of what can be updated.  Say more to get more ;-)

HTH,
Bill


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to