The answer was to use prototype''s $F() function which returns the
value of any field input control:
page.replace_html ''tag'', ''<input
name="abc" id="abc"
value="''+@tag+''">''
+ link_to_remote( "doit", :url =>{ :action => :doit }, :with
=>
"''abc=''+$F(''abc'')" )
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---