simpleCart(js)

items
Items:
Total:

simpleCart.ELEMENT.html( [html] )

arguments:

  • html (optional): set as the innerHTML for the element(s)

returns:

  • If the html argument is provided, the ELEMENT returns itself
  • If no argument is provided, the innerHTML of the ELEMENT is returned
Hello!
var div = simpleCart.$("#my-div");
var div_html = div.html(); // returns "Hello!"

div.html( div_text + " Bob!" );
Hello! Bob!

 

Comments

  1. Sep 11, 2012

    unevielve  said:

    what is the name and place of this correction

Commenting is not available in this channel entry.