Skip to content

Instantly share code, notes, and snippets.

@traviskroberts
Created December 21, 2008 23:22
Show Gist options
  • Save traviskroberts/38788 to your computer and use it in GitHub Desktop.
Save traviskroberts/38788 to your computer and use it in GitHub Desktop.
- if @complete
$("#div_name_#{@record.id}").html('complete');
$("#notes_#{@record.id}").replaceWith('<p>#{@record.notes}</p>');
- else
alert("An error occurred processing your request.");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment