blob: cbae6623a8ea96c96ba0b4d5425324b6660412a3 (
plain)
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
|
<html>
<body>
<textarea rows="24" cols="80" id="ta"></textarea>
<form onsubmit="run(); return false" id="f">
<select id="t">
<option>t01.js</option>
<option>t02.js</option>
<option>t03.js</option>
<option>t04.js</option>
<option>t05.js</option>
</select>
<input type="submit" value="Run test" />
</form>
<script type="text/javascript">
var ta = document.getElementById( 'ta' );
function print( x ) { ta.value += x + "\n"; }
var f = document.getElementById( 'f' );
var t = document.getElementById( 't' );
function run() {
var s = document.createElement('script');
s.src = t.value;
document.body.appendChild( s );
}
</script>
<script type="text/javascript" src="clj.js"></script>
<script type="text/javascript" src="boot.js"></script>
</body>
</html>
|