Upload
rishikeshmalviya
View
11
Download
2
Embed Size (px)
DESCRIPTION
ecc
Citation preview
Rishikesh Page 61
Code for Mini Project
Mini Project Related To Ecommerce
h1{
background-color:red;
}
p{
background-color:pink;
}
function getValidation()
{
var r = document.getElementsByName("c");
var c = -1;
for(var i=0; i < r.length; i++){
if(r[i].checked) {
c = i;
}
}
if (c == -1) alert("please select Payment Method");
Rishikesh Page 62
else
{ alert("Successful!!!!!!!you will be redirected to next page");}
}
Cadbury DAIRY MILK
Debit Card
Credit Card
W-Wallet
Rishikesh Page 63
Cash on delivery
Quantities to be selected
Not Selected
1
2
3
4
5
6
7
8
9
10
Rishikesh Page 64