Files
vkservicesllc.github.io/ajax-requests/page.html
2018-11-07 13:43:01 -05:00

18 lines
662 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">
<style>*{font-family:Arial;}body{margin:24px auto;width:870px;}</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>