Skip to content

Instantly share code, notes, and snippets.

@ryarwood
Created December 17, 2012 18:38
Show Gist options
  • Save ryarwood/4320744 to your computer and use it in GitHub Desktop.
Save ryarwood/4320744 to your computer and use it in GitHub Desktop.
jQuery HTML Replace
content = "<h1>HTML CONTENT HERE</h1>";
$("#contentDiv").html(content);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment