Last active
June 26, 2019 09:31
-
-
Save anshulrgoyal/d3fe0e06556249feef09b134d609e86c to your computer and use it in GitHub Desktop.
.input-blocksdfmdks
This file contains 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
<input type="text" id="input"> | |
<script> | |
const el= document.querySelector('#input') | |
el.addEventListener('change',(e)=>{ | |
console.log(e.target.value); | |
}) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment