Event Listeners for form > select tags

Raja Venkataraman wrote:

Sam Woodard wrote:
> How do you attach an event listener to watch for the user to change the
> selected option in a 'select' field before they click the submit button
> in order to instruct the page to change (AJAX) based on what the user
> selected in the field. In other words, I want the page to be able
> to change when the user makes a selection from a form select before they
> ever click any button.

Check out the observe_field method in
In: vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb

Posted via http://www.ruby-forum.com/.

Take a look at this...