simpleCart(js)

items
Items:
Total:

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

  1. There are no comments for this entry yet.
Commenting is not available in this channel entry.