-
Notifications
You must be signed in to change notification settings - Fork 2
/
assetStaff.php
48 lines (42 loc) · 1.12 KB
/
assetStaff.php
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
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script>
$(document).ready(function() {
$("#btn1").click(function(){
$.get("staffAssets.php", function(data, status){
$("#asset").html(data);
});
});
$("#btn2").click(function(){
$.get("assetTracking.php", function(data, status){
$("#track").html(data);
});
});
$("#btn3").click(function(){
$.get("manage.php", function(data, status){
$("#track").html(data);
});
});
$("#btn2").click(function(){
$.get("transfer.php", function(data, status){
$("#track").html(data);
});
});
});
</script>
</head>
<body>
<button id="btn1">Click to view assets</button>
<p id="asset"></p>
<button id="btn2">Track assets</button>
<p id="track"></p>
<button id="btn3">Manage Assets</button>
<p id="manage"></p>
<button id="btn4">Transfer Assets</button>
<p id="transfer"></p>
</body>
</html>