$('#notes').html('<%= escape_javascript(render(@note.topic.notes)) %>'); $("#note_form_place").html("");