-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (31 loc) · 1.33 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<script data-require="jquery@*" data-semver="2.1.4" src="http://code.jquery.com/jquery-2.1.4.min.js"></script>
<link data-require="bootstrap@*" data-semver="3.3.2" rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" />
<script data-require="bootstrap@*" data-semver="3.3.2" src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="style.css" />
<script src="/script.js"></script>
<script src="filter.js"></script>
</head>
<body>
<div class="container">
<h1>Mobile phone validator</h1>
<div class="form-inline">
<div class="form-group">
<select class="form-control" name="countryCodes" id="countryCodes"></select>
</div>
<div class="form-group">
<input class="form-control" type="text" name="msisdn" id="msisdn" placeholder="msisdn" />
</div>
<button type="submit" id="submitNumber" name="submitNumber" onclick="validateNumber()">check</button>
</div>
<div>
<h3><span id="countryCode"></span> <span id="msisdnFormatted"></span></h3></div>
<div class="red">
<h4 id="errorMessageInvalidMsg"></h4></div>
<div class="red">
<h4 id="errorMessageLengthMsg"></h4></div>
</div>
</body>
</html>