can we append partial using js in rails code example
Example: render html in js.erb
$('#comments ul.comments').append("<%= j render(:partial => 'comments/foobar') %>");
$('#comments ul.comments').append("<%= j render(:partial => 'comments/foobar') %>");