-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshopping_cart.html
53 lines (52 loc) · 1.8 KB
/
shopping_cart.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE HTML>
<head>
<title>Shopping Cart</title>
<script>
//remove from cart
function del(isbn){
window.location.href="shopping_cart.html?delIsbn="+ isbn;
}
</script>
</head>
<body>
<table align="center" style="border:2px solid blue;">
<tr>
<td align="center">
<form id="checkout" action="confirm_order.html" method="get">
<input type="submit" name="checkout_submit" id="checkout_submit" value="Proceed to Checkout">
</form>
</td>
<td align="center">
<form id="new_search" action="screen2.html" method="post">
<input type="submit" name="search" id="search" value="New Search">
</form>
</td>
<td align="center">
<form id="exit" action="index.html" method="post">
<input type="submit" name="exit" id="exit" value="EXIT 3-B.com">
</form>
</td>
</tr>
<tr>
<form id="recalculate" name="recalculate" action="" method="post">
<td colspan="3">
<div id="bookdetails" style="overflow:scroll;height:180px;width:400px;border:1px solid black;">
<table align="center" BORDER="2" CELLPADDING="2" CELLSPACING="2" WIDTH="100%">
<th width='10%'>Remove</th><th width='60%'>Book Description</th><th width='10%'>Qty</th><th width='10%'>Price</th>
<tr><td><button name='delete' id='delete' onClick='del("123441");return false;'>Delete Item</button></td><td>iuhdf</br><b>By</b> Avi Silberschatz</br><b>Publisher:</b> McGraw-Hill</td><td><input id='txt123441' name='txt123441' value='1' size='1' /></td><td>12.99</td></tr> </table>
</div>
</td>
</tr>
<tr>
<td align="center">
<input type="submit" name="recalculate_payment" id="recalculate_payment" value="Recalculate Payment">
</form>
</td>
<td align="center">
</td>
<td align="center">
Subtotal: $12.99 </td>
</tr>
</table>
</body>