rendre html en js.erb

$('#comments ul.comments').append("<%= j render(:partial => 'comments/foobar') %>");
Yellowed Yak