title: Check which event fired the function with jQuery?
body: <p>How can i check which event called my function on Javascript with Jquery? </p>
  
  <p>Like i have:</p>
  
  <pre><code>var mycall= function() { 
      alert('Which Witch is Which?');
  }
  
  $(window).load(mycall);
  $(window).resize(mycall);
  </code></pre>
  
  <p>I understand that i could pass a parameter to the function, still i'm interested in a way to do this without passing any parameters.</p>