Using Ajax to do more than 1 render


#1

In response to vivek : Using Ajax to do more than 1 render

some way to update multiple portions of a web page.
Sure, all kinds of ways - using dhtml and ajax - http://script.aculo.us/

but Iam kind of clueless about how to acheive the second update.Any ideas?
This might get you started - Ajax.Updater…
http://wiki.script.aculo.us/scriptaculous/show/Ajax.Updater

But I want the text box to appear only when a link
is clicked and also provide a link to hide it.I suspect i need to write some
javascript here but I just want to know how far rails can take me.

http://wiki.script.aculo.us/scriptaculous/show/Prototype

Perhaps something like this?

<%=text_field 'user','something'%>

Hide
Show

Flipper

Something like that :stuck_out_tongue: