-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCCValidator.html
29 lines (29 loc) · 1.33 KB
/
CCValidator.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Card Validator Test</title>
<script src="js/creditcard.js"></script>
</head>
<body>
<p>Select credit card:</span>
<select tabindex="11" id="CardType" style="margin-left: 10px;">
<option value="AmEx">American Express</option>
<option value="CarteBlanche">Carte Blanche</option>
<option value="DinersClub">Diners Club</option>
<option value="Discover">Discover</option>
<option value="EnRoute">enRoute</option>
<option value="JCB">JCB</option>
<option value="Maestro">Maestro</option>
<option value="MasterCard">MasterCard</option>
<option value="Solo">Solo</option>
<option value="Switch">Switch</option>
<option value="Visa">Visa</option>
<option value="VisaElectron">Visa Electron</option>
<option value="LaserCard">Laser</option>
</select>
<span style="color: #ff0000; margin-left: 20px;">Enter number:
<input type="text" id="CardNumber" maxlength="24" size="24" style="margin-left: 10px;" />
<button id="mybutton" type="button" onclick="testCreditCard();" style="margin-left: 30px; color: #f00;">Check</button>
</body>
</html>