Files
vkservicesllc.github.io/ajax-requests/page.html
2018-11-07 16:31:47 -05:00

36 lines
925 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Ajax</title>
<meta charset="UTF-8">
<meta http-equiv="cache-control" content="must-revalidate, no-store, no-cache">
<link href="css/style.css">
<style>
* {
font-family: Arial;
}
body {
margin: 24px auto;
width: 870px;
}
table {
margin-top: 12px;
border-collapse: collapse;
}
th, td {
padding: 4px 9px;
border: 1px solid black;
}
</style>
</head>
<body>
<h4>Test different document types</h4>
<button onclick="captureJSON()">Click here to capture JSON</button>
<button onclick="captureXML()">Click here to capture XML</button>
<button onclick="captureHTML()">Click here to capture HTML</button>
<div id="capturedJSON"></div><div id="capturedXML"></div><div id="HTML"></div>
<script src="js/jsonCap.js"></script>
</body>
</html>