-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathadmin.js
More file actions
37 lines (22 loc) · 707 Bytes
/
Copy pathadmin.js
File metadata and controls
37 lines (22 loc) · 707 Bytes
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
$.ajax({
url: that.serverAddress + that.campaignID + "/" + that.latestMessageID,
type: 'GET',
data:{},
async: true,
success: function (data) {
},
error: function(data) { //TBH haven't used this, just looked this error part up for this specs page
console.log("Get request failed");
}
});
function jsonToTable(json){
var ID = json.campaignID;
var count = json.count;
i = True;
while(i){
row += '<tr>' + '<td>' + ID + '<td>' + count + '<td>' + '*DELETE*' + '<td>'
i = False;
}
}
http://ec2-3-209-137-117.compute-1.amazonaws.com/campaignsAll/
http://ec2-3-209-137-117.compute-1.amazonaws.com/adminDelete/