Revision: 29369
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 28, 2010 04:53 by TonyBentley
Initial Code
create = function(elementTagName) { return $(document.createElement(elementTagName)); }
Initial URL
Initial Description
this is a shortcut that simplifies making a new dom element. $("#outerdiv").append( create("div").addClass("innerDiv").text("This is the inner div") )
Initial Title
create a new DOM element
Initial Tags
Initial Language
jQuery