Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save omurphy27/b33f29e67d9916847d73 to your computer and use it in GitHub Desktop.
Save omurphy27/b33f29e67d9916847d73 to your computer and use it in GitHub Desktop.
jquery creating html markup with custom values.js
$("<h1>", {
text: 'This is just practice yo, ignore it son',
class: 'what up yo',
id: 'in the house',
name: 'what what',
type: 'submit'
}).appendTo(".container");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment