Skip to content

Instantly share code, notes, and snippets.

@sandeshdamkondwar
Last active December 11, 2015 06:08
Show Gist options
  • Save sandeshdamkondwar/4557103 to your computer and use it in GitHub Desktop.
Save sandeshdamkondwar/4557103 to your computer and use it in GitHub Desktop.
Create Element in jQuery
$("<h1/>",{
text: "discription",
id=""
}).appendTo(element);
var newElement = $("<div/>",{id="",class=""}).appendTo(element);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment