title: jquery file upload 2 fileuploads, how to check which fileupload is clicked
body: <p>I have 2 File upload controls, i am using Jquery Filupload plug-ins, can any one explain me how should i check which fileupload to be clicked. </p>
  
  <p>So i need to make condition for which file upload had been clicked.</p>
  
  <p>I have done this way but same time $("#UiLogo").click() is firing, please help me any one.</p>
  
  <pre><code>if ($("#UiLogo").click())
          {
              alert("1 - Called");
              $("#UiLogo").val(data.result.Value);
              $("#ImgUiLogo").css('display', 'block');
              $("#ImgUiLogo").attr("src", JsLogoPath + data.result.Value);
          }
          else if ($("#AdminLogo").click())
          {
              alert("2 - Called");
              $("#AdminLogo").val(data.result.Value);
              $("#ImgAdminLogo").css('display', 'block');
              $("#ImgAdminLogo").attr("src", JsLogoPath + data.result.Value);
          }
  </code></pre>
  
  <p>Regards</p>