Im curious about what the best way to load a rails partial with jquery. So far I have tried a solution not working:
$(\'#imagecontent\').load(\'/newsletters/
Another alternative:
$('#imagecontent').html('<%= escape_javascript render 'newsletters/image_gallery' %>');