Never mind i got it
@comment.body = "" before the page.replace
On Nov 1, 1:34 am, tyliong <[EMAIL PROTECTED]> wrote:
> Hi, after i click submit and refresh the parital(with
> page.replace_html) with the remote_form_for, the <%=
> form.text_area :body, :rows => 10, :cols => 40 %> still contains the
> previous text. how do i totally remove the text inside of it?
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---