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

Save Action


Below is an example of using an HTML link around an image for the save action. Since save needs to prompt the user for a quote name, we call the SaveQuote JavaScript function included in the ShoppingCart JSP, which gets the quote name from the user and then submits the cart form using JavaScript. If the quote name were a field on the shopping cart JSP, you could modify the SaveQuote JavaScript function to check for a value in this field and then submit the cart form.

<a href="" onClick="SaveQuote(); return false;">
<img src="transactserver/saveorder_btn.gif" border=0></a>


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