forked from mohsinkd786/js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Arrays.html
25 lines (25 loc) · 1013 Bytes
/
Arrays.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
<html>
<head>
<title>
Js | Arrays
</title>
<script type="text/javascript" src="arrays.js"></script>
<link rel="stylesheet" href="arrays.css">>
</head>
<body>
<input type="button" value='Process' onclick="traverseEvenNumbers()" />
<input type="button" value='Get Employee' onclick="fetchEmployee()" />
<input type="button" value='Get Employee Salary' onclick="fetchEmployeeSalary()" />
<input type="button" value='Get All Employees' onclick="fetchAllEmployees()" />
<div class='city'>
<input type='text' id='city'/>
<input type="button" value='Get Employees By City' onclick="fetchEmployeesByCity()" />
</div>
<div class='city'>
<input type='text' id='id'/>
<input type="button" value='Get Employees By Id' onclick="fetchEmployeeById()" />
</div>
<input type="button" value='Sort an Array' onclick="sortArray()" />
<input type="button" value="Save Data" onclick="saveData()"/>
</body>
</html>