items
simpleCart.ELEMENT.val( [value] )
arguments:
- value (optional): set the value of the ELEMENT to value
returns:
- If a value is provided, the ELEMENT returns itself.
- If no value is provided, the value of the ELEMENT is returned
var val = simpleCart.$("#my-input").val(); // returns "hello" simpleCart.$("#my-input").val( "goodbye" );
Comments
- There are no comments for this entry yet.