123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8" />
- <meta name="viewport"
- content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
- <meta name="description"
- content="Tizen example" />
- <title>tizen example</title>
- <link rel="stylesheet" type="text/css" href="css/style.css" />
- <script>
- function log(arg)
- {
- var text = "log: " + arg + "\n";
- console.log(text);
- document.form.console.value += text ;
- }
- function change()
- {
- var source = document.form.source.value;
- eval(source);
- }
- </script>
- </head>
- <body>
- <h1>tizen example</h1>
- <form name=form>
- Source :<br/>
- <textarea rows="8" cols="80" name=source>
- log("begin");
- log("end");
- </textarea>
- <p/>
- Console :<br/>
- <textarea rows="8" cols="80" name=console>
- </textarea>
- <p/>
- <input type="button" onclick="change();" value="eval" />
- </form>
- <script>
- </script>
- <footer>
- <a href="https://gitorious.org/tizen/tizen-example/">
- https://gitorious.org/tizen/tizen-example/
- </a>
- </footer>
- </body>
- </html>
|