I'm not sure why it still isn't working for me.

<p id="review_<%= review.id%>"><%= pluralize(review.votes_count, 'vote')
%></p>


create.js.erb
$("review_<%= @review.id %>").html("<%= @review.votes_count %>")

I don't see any errors in the log.

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 6 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedOct 14, '11 at 12:31a
activeOct 16, '11 at 2:27a
posts6
users2
websiterubyonrails.org
irc#RubyOnRails

2 users in discussion

Sean Six: 4 posts Tim Shaffer: 2 posts

People

Translate

site design / logo © 2022 Grokbase