blob: bd8711d387046dee31b97fb2bea007a80bb157d0 (
plain) (
blame)
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
|
<html>
<head>
<title>Epic Works (TM)</title>
<body>
<h1>It just works!</h1>
<p>Play with me...</p>
<button onclick="test();">test</button>
<div id="out"></div>
<div id="in"></div>
<div id="debug"></div>
<script type="text/javascript">
function test() {
eth.send(function(data) {
debug(data)
document.getElementById("in").innerHTML ="and the other way around " + data.message;
})
}
</script>
</body>
</html>
|