Q:

Input type file event after select and open a file

I have this HTML code:
<input type="file" id="mysignature_upload" onChange="readURL();"/>

Javascript code:
function readURL(){
  alert("Hello");
}

The problem with this code is, the function readURL only gets called when you select a different file, but if you select the same file over and over again, readURL cannot be executed.  I want to know if there's an event that fires when you select and open a file even if the file selected is the same with the previous file selected. 
Here is the fiddle: http://jsfiddle.net/vhevhangvhakhikhang/78zcp5u7/

A:

I hope its satisfies your requirements: fiddle exapmle
   <input type="file" id="mysignature_upload"/>

    $("#mysignature_upload").click(function (event) {
         $("#mysignature_upload").val("");
    });

    $("#mysignature_upload").on('change',function (event) {
        alert("selected file: " + $("#mysignature_upload").val());
    });

A:

<script>
    $(document).ready(function({
      $("#mysignature_upload").click(function(event){
         event.preventDefault();
         $(this).val("");
      });
    });
</script>

