I would like to call partials on some standard operations. I am using this method for calling the partial:
%li= link_to \'Delete Event\', \'javascript:void(
To add to the accepted answer, I only got it to work after changing the js portion to the following:
$('#div_id').html("<%= escape_javascript(render :partial => 'my_partial') %>");
Without the escape_javascript it was just rendering the partial in the background and not updating the view.
escape_javascript