Created
October 19, 2017 05:49
-
-
Save otnansirk/ce86ea4fa2fed069eba7015bc8373915 to your computer and use it in GitHub Desktop.
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 id="file" type="file"> | |
<script> | |
document.getElementById("file").onchange = function() { | |
alert(document.getElementById("file").files[0]); | |
} | |
</script> | |
<!-- onchange ; mening when where is a change --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment