title: Prevent onblur code to execute if clicked on submit button
body: <p>By the following code I wish to "DO SOMETHING" on "ONBLUR" of element id="eg1" only if the onblur event was not caused due to "ONCLICK" on the submit button.</p>
  
  <pre><code>    $(document).ready(function() {  
       $('#eg1').blur(function() {
        if(!($("#SubmitBut").click())) {
               //do something
        }
       });
      });
  </code></pre>
  
  <p>For Eg : if the user changes value of the “eg1” text field and clicks on the next text field then the DO SOMETHING code must run, but in case the user changes value of the the “eg1” field and then clicks on the SUBMIT button, then the DO SOMETHING code must not run.</p>
  
  <p>Is it the correct way to do so ??
  Please guide.</p>