how to submit a HTML form
hello all,
I want to submit an HTML form on clicking the 'Checkout' button in the 'ShoppingCart.aspx' page. How I can do it?
I have done the following coding for HTML form:-
Code:
<form name="frmCart" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" value="admin@MUKI.com" name="business">
<input type="hidden" value="Black Color" name="on0">
<input type=hidden value="<%=Session["ItemNames"]%>" name="item_name" >
<input type=hidden value="<%=Session["ItemNumbers"]%>" name=item_number >
<input type="hidden" value="<%=Session["TotalAmt"]%>" name="amount">
<input type="hidden" value="2" name="no_shipping">
<input type="hidden" value="admin@MUKI.com/Paymentdone.aspx" name="return">
<input type="hidden" value="admin@MUKI.com/Paymentcancel.aspx" name="cancel_return">
<input type='hidden' name='cn' value='Memo for your Reference:'>
<input type='hidden' name='currency_code' value='USD'>
<input type='hidden' name='lc' value='US'>
<input type='hidden' name='bn' value='PP-ShopCartBF'>
<input type='hidden' name='rm' value='POST'>
</form>