Skip to content

Instantly share code, notes, and snippets.

@netsuite
Created June 30, 2014 15:40
Show Gist options
  • Save netsuite/a2316fd1d17542cded82 to your computer and use it in GitHub Desktop.
Save netsuite/a2316fd1d17542cded82 to your computer and use it in GitHub Desktop.
js: create dynamic div to append
jQuery('<div/>', {
"class": "myClass",
"html": "hi, this is the html content"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment