title: How to identify whether button click is done by user or done via script
body: <p>I want to show a specific message only if the button click event is done by user manually. If it is clicked by script then message should now show. How can i do so in Jquery.</p>
  
  <pre><code>$('#save_btn').change(function(e){
  if (e.originalEvent !== undefined)
  {
  successMsg();
  }
  });
  </code></pre>