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

Update Action

Below is an example of using an HTML link for the Update action, dynamically adding the correct parameter name, and submitting the cart form to the server.

<a href=""
onClick="document.cart_form.action+='&UPDATE_QUOTE=update'; document.cart_form.submit(); return false;">
<img border=0 src="transactserver/updateorder_btn.gif"></a>

In the onClick event, the UPDATE_QUOTE parameter name is added to the URL already defined for the form action, and is given a non-null value (`update'). Then JavaScript is used to submit the form.

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