Hi everyone:
I,m using the following code and I have some questions
<div id="comment_<%= comment.id.to_s %>">
<%= link_to_remote( "Show Body",
:update => "comment_#{comment.id.to_s}",
:url => { :action => :show_body,
:id => comment }) %>
</div></td>
what exactly do :update,:url,:id, I mean what is the action they done??
Other question
I want to refresh an image, but the image is not a class of the code,
because Iuse the image tag, I dont know where I have to start for do
that, anyone can give me a tip
Thanks
--
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 [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.