items
simpleCart.$( selector )
arguments:
- selector: string of a css selector
returns:
- simpleCart.ELEMENT object containing one or more DOM elements if the selector matches anything on the page
Before:
- Item 1
- Item 2
- Item 3
var items = simpleCart.$('li.item'); items.addClass('cool');
After:
- Item 1
- Item 2
- Item 3
Comments
- There are no comments for this entry yet.