Re: [Rails] Javascript call from view.

2011-03-09 Thread radhames brito
First of all user Jquery it will make everything easier for you, Second post the code as a gist so is more readable -- 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

[Rails] Javascript call from view.

2011-03-09 Thread Chandu80
Hello All, I am working on a Microblogging application.(majorly written in Ruby on Rails).(the application is similar to twitter) .There is a timeline showing messages by the logged-in user and his/her followers. Each message has a reply link which has been coded as follows <%=link_to "Reply" ,{},