title: OnChange event function
body: <p>I have the next three input's : </p>
  
  <pre><code>&lt;input type="file" name="first"/&gt;
  &lt;input type="file" name="second"/&gt;
  &lt;input type="file" name="third"/&gt;
  </code></pre>
  
  <p>And I want to do something if the file is chosen. I have next function : </p>
  
  <pre><code>$(function() {
      $('input[name="INPUT-NAME"]').change(function (){
         alert("Selected");
      });
  });
  </code></pre>
  
  <p>Is there any way to pass a <code>name</code> of the clicked input field to this function?</p>