-
Notifications
You must be signed in to change notification settings - Fork 6
/
test.html
30 lines (29 loc) · 1.04 KB
/
test.html
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
<html>
<head>
<script type="text/javascript">
var exports=window;
var IE_HACK=false;
</script>
<script type="text/javascript" src="vbscript.js"></script>
<script type="text/javascript" src="xdr.js"></script>
<script type="text/javascript" src="parser.js"></script>
<script type="text/javascript" src="jsdap.js"></script>
<script type="text/javascript">
function load() {
var url = document.getElementById('url').value;
var ta = document.getElementById('textarea');
loadData(url, function(data) {
ta.value = JSON.stringify(data);
});
return false;
}
</script>
</head>
<body>
<form method="GET" action="#">
<input type="text" id="url" size="128" value="" placeholder="DODS URL" />
<input type="button" value="load URL" onclick="load()" />
</form>
<textarea id="textarea" style="width: 100%; height: 400px;"></textarea>
</body>
</html>