table parsing test no 1
This commit is contained in:
@@ -3,5 +3,8 @@ function updateData () {
|
|||||||
const url = 'http://' + window.location.hostname + ':5000/data';
|
const url = 'http://' + window.location.hostname + ':5000/data';
|
||||||
$.get(url, function (data, status) {
|
$.get(url, function (data, status) {
|
||||||
$('#debug').text(data);
|
$('#debug').text(data);
|
||||||
|
for (i in data[0]) {
|
||||||
|
$(i).text(data[0][i]);
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user