mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
422 B
27 lines
422 B
<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>
|
|
|
|
|