Hello all ,
I am a newbie to rails but thanks to the tutorials I have created in
less
than a week’s time a dynamic ajax enabled test page which is shown to a
user
when he/she logs in. I am exploring the Javascript helper class and I
was
wondering if there is some way to update multiple portions of a web
page.
For example the page has a box on the right where in a user can add
some
tags.Now I need to update the portion of the page which shows a listing
of
all user tags and also another portion of a page whose content is
determined
by the tags added. I use the render :partial to update the first part
but I
am kind of clueless about how to acheive the second update.Any ideas?
Also does Rails provides a way to add a text box which basically
functions
like the form_remote_tag .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.
thanks
vivek