Created
March 31, 2018 23:00
-
-
Save theHamdiz/1922f43bef55880ad862d6fa751599bb to your computer and use it in GitHub Desktop.
copy the exact text of input to a div on change in js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function change(){ | |
var show_div = document.getElementById("show_div"); | |
var i = document.getElementById("i"); | |
show_div.innerHTML = i.value.toUpperCase(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment