$('#prescription_place').replaceWith('<%= escape_javascript(render(:partial => "show")) %>');

$('#prescriptions').replaceWith('<%= escape_javascript(render(:partial => "prescriptions")) %>');
$('#prescription_<%= @prescription.id %>').addClass('active');