This might help you:
http://24ways.org/advent/have-your-dom-and-script-it-too
2006/1/13, Wouter <ror@xinit.cx>:> Hi All!
>
> Is it possible to populate a form (or certain elements) with the shipped
> AJAX library? When using link_to_remote it seems that only innerHTML of
> a DOM element can be updated, but I would like to set the value of a
> text field (or perhaps multiple).
>
> Greetings,
>
> Wouter
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>