AJAX Action from onchange

How do I make an Ajax action run by an :onchange in a select?

How do I make an Ajax action run by an :onchange in a select?

remote_function

Fred

Frederick Cheung wrote:

form.select('foo', @some_foos, {},
  :onchange => remote_function(:url => fancy_ajax_action_here,
    :with => "'foo=' + escape(this.value)" ))

Aaron

Aaron Baldwin wrote:

You could try an observe_field observing your select field.