$("#new_note").before('<div id="flash_notice"><%= escape_javascript(flash.discard(:notice)) %></div>');
$("#notes").append("<%= escape_javascript(render(:partial => @note)) %>");
$("#new_note")[0].reset();

$("#notes").prepend("<%= escape_javascript(render(:partial => @note)) %>");
$("#new_note")[0].reset();

Add new note to the top of the list in view.
Add new note to the top of the list in view.
