-
Notifications
You must be signed in to change notification settings - Fork 0
/
purchase form
39 lines (38 loc) · 1.34 KB
/
purchase form
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
<html>
<head>
<title> product prurchase form </title>
<body>
<img src="product.png" >
<link rel="stylesheet" type="text/css" href="product.css">
<h5> AVAILIABLE PRODUCT </h5>
<form>
<form action=" "method="avialiability">
<script type="text/javascript">
if(document.getelementbyID=="")
alert("please enter details!")
</script>
<button
onclick="getelementbyID('purchase').innerHTML=discount()"> discount availiable?
</button>
<button>
<p onclick="myFunction(this,'red')"> click me to change my text colour .</p>
</button>
<input type="radio" name="grocery" value="sugar"/>sugar
<input type="radio" name="medicine" value=revital">revital
<input type="checkbox" name"all product" value="all"> all
<input type="date" name="snacks" value="kurkure"> kurkure
<input type="radio" name="stationary" value="notebook"> notebook
<input type="range" name="hair oil" value="hair cair"> hair cair
<input type="image" name="png product" value="shampoo"> shampoo
<input type="month of expiry" name="dry fruits" value="cashew"> cashew
<input type="search " name="product-button" value="product">
<script type="text/javascript">
if(documentgetelementbyID=="")
alert("please enter name")
</script>
<p> these are the products avialiable ,you can purchase any of these avialiable products </p>
name:<input type="text" name="grocery">
<input type="button" value="nextbutton">
</form
</body>
</html>