<script>
$('#file').on('change', function(e) {
console.log(e.target.files[0]);
})
</script>
<input type='file' id='file'>
Which is a file object, check this page for detail things.
<script>
$('#file').on('change', function(e) {
console.log(e.target.files[0]);
})
</script>
<input type='file' id='file'>
Which is a file object, check this page for detail things.