Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <script>
- window.onload = function() {
- document.getElementById("button").onclick = function() {
- var value = document.getElementById("input").value;
- // код, который нужно дописать
- };
- };
- </script>
- </head>
- <body>
- <form>
- <label for="input">Введите строку</label><br>
- <input type="text" id="input">
- <input type="button" id="button" value="Жми!">
- </form>
- </body>
Add Comment
Please, Sign In to add comment