items
simpleCart.$create( tag )
arguments:
- tag: string of tagName of DOM element to create (ie ‘span’,‘div’, etc)
returns:
- simpleCart.ELEMENT object of new DOM element
var myDiv = simpleCart.$create('div'); myDiv.text("hello"); simpleCart.$("#container").append(myDiv);
hello
Comments
Commenting is not available in this channel entry.
- There are no comments for this entry yet.