Jing Tian
2010-Dec-02 16:21 UTC
how to change value of a form text field using javascript or rjs
I want to change the value of a text_field under a fields_for when user hit a button. Does anyone know how to do it in javascript or rjs code. Thanks so much!! -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Jing Tian
2010-Dec-02 16:59 UTC
Re: how to change value of a form text field using javascript or rjs
never mind. I got it.. Jing Tian wrote in post #965711:> I want to change the value of a text_field under a fields_for when user > hit a button. > Does anyone know how to do it in javascript or rjs code. Thanks so > much!!-- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.