I was wondering if it was possible to use jquery on the truncate helper method in rails. I have made the omission symbol a link_to like so
<%= raw(truncate(@book.description, :length => 1000, :omission => (link_to' (continued)', :id => 'revealMore'))) %>
I have given it an ID as I assume thats what I will need to select it in jquery, I'm just a little unsure on how to go about it and whether all the text is stored when truncating using the helper method
Any one done this before
Thanks