12345678910111213141516171819 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>Index page</title>
- </head>
- <body>
- <form action="#">
- <div>
- <input type="text" name="source" id="source"
- onkeyup="document.getElementById('target').innerHTML = this.value" value="bar">
- </div>
- </form>
- <div id="target"></div>
- </body>
- </html>
|