Siebel Interactive Selling Transact Server Interface Reference > The Shopping Cart > Shopping Cart Buttons >

Clear Action


Below is an example of an HTML link used for the Clear action, which is almost identical in syntax to the Update action above.

<a href=""
onClick="document.cart_form.action+='&CLEAR_HEADER=clear'; document.cart_form.submit();">
<img border=0 src="transactserver/clearinfo_btn.gif"></a>

In the onClick event, we add the CLEAR_HEADER parameter name to the URL already defined for the form action, and give it a non-null value (`clear'). Then we use JavaScript to submit the form.


 Siebel Interactive Selling Transact Server Interface Reference 
 Published: 18 April 2003