Displaying 1 result from an estimated 1 matches for "new_comment_text".
2006 Aug 14
4
Updating a table with Ajax
...t;/p>
<div id=''add_comment'' style=''display: none;''>
<%= form_remote_tag :update => ''comment_list'', :position => :bottom,
:url => {:action => ''add_comment''} %>
<%= text_area_tag(''new_comment_text'', nil, :size => ''50x8'') %>
<%= submit_tag ''Submit'' %>
</div>
Then my _comments_list.rhtml partial:
<tr>
<div id=''comment<%= @comment.id %>''>
<td><div class=''comment_user...