Forum: Ruby on Rails Populating form elements with AJAX

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7a4197685c29ebbec626212c080a6170?d=identicon&s=25 Wouter (Guest)
on 2006-01-13 13:09
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
Eeba234182bcbd7faed9ff52e233394d?d=identicon&s=25 Douglas Livingstone (Guest)
on 2006-01-13 13:38
(Received via mailing list)
This might help you:

http://24ways.org/advent/have-your-dom-and-script-it-too


2006/1/13, Wouter <ror@xinit.cx>:
7a4197685c29ebbec626212c080a6170?d=identicon&s=25 Wouter (Guest)
on 2006-01-13 13:55
Douglas Livingstone wrote:
> This might help you:
>
> http://24ways.org/advent/have-your-dom-and-script-it-too

Great! I had a good laugh about how inventive people are.
This topic is locked and can not be replied to.