items
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!
Sep 11, 2012
what is the name and place of this correction