js file input on file select event code example
Example: input type=file events jquery
$("document").ready(function(){
$("#upload").change(function() {
alert('changed!');
});
});
$("document").ready(function(){
$("#upload").change(function() {
alert('changed!');
});
});