Create test.html

This commit is contained in:
Val
2020-04-29 13:55:32 -04:00
committed by GitHub
parent 7de420445d
commit ca204edc7b

30
app-new/test.html Normal file
View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script>
$.ajax({
url: 'https://raw.githubusercontent.com/CarolinaLogistic/linkboard/master/json/ss_payroll-weeks.json',
success: function(json) {
const data = JSON.parse(json);
let content = '';
for (let date in data)
content += date + ' ' + data[date] + '<br>;
$('output').html(content);
}
});
</script>
</head>
<body>
<div id="output"></div>
</body>
</html>