aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/test.html
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal/assets/test.html')
-rw-r--r--ethereal/assets/test.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/ethereal/assets/test.html b/ethereal/assets/test.html
new file mode 100644
index 000000000..bd8711d38
--- /dev/null
+++ b/ethereal/assets/test.html
@@ -0,0 +1,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>
+