Prototype link_to_function

hi everybody! i`m trying to apply this function(prototype):
<%= link_to_function “reply”, “$(‘main-comment-form’)
.hide()
.appendTo(‘comment-#{comment.id} .form-placeholder’) //problem is here
probably
.fadeToggle(600);
$(‘comment_parent_id’).setValue(#{comment.id});”%>

after clicking the link form hides succesfully, but it doesn`t append to
.form-placeholder

July (September 23, 2009 at 11:15 PM)

stupid ukrainians!!

how do we specify id and class to append the form using prototype?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs