search for: _newcomment

Displaying 1 result from an estimated 1 matches for "_newcomment".

Did you mean: newcomment
2006 Apr 07
3
Ajax render a template
...Ajax call to add the comment to the bottom of the comments list. How to i return a comment thats is in the comment template and add it to the bottom of the page. I have gotten as far as rendering some text back to the form and the comment doesn''t display until i refresh. This is my _newcomment.rhtml form to create a new comment <div id="divcomment"> <b>Leave a Reply</b> <%= form_remote_tag(:update => ''newcomments'', :url => {:action => :comment, :id => @post}, :position => "before") %> <%= render :partial =&g...