I'm having issue, when jquery appending string instead of tags. Here is my code:
$('.nested_comments_'+<%= @comment.parent.id %>).append("<div class='<%= 'nested_comments nested_comments_'+ @comment.id.to_s%>'></div>")
ANd this results in
"<div class='nested_comments nested_comments_584'></div>"
instead of html tag. WHat am i doing wrong?