Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <input id="che1" name="che1" type="checkbox" onchange="onChange('Hello world')">
- <div class="innerHere"></div>
- <script>
- function onChange(someText) {
- document.querySelector(".innerHere").innerHTML = someText;
- }
- </script>
Add Comment
Please, Sign In to add comment