jQuery - who really clicked me?
<p>I have this <strong><a href="http://jsbin.com/axaqer/5/edit" rel="nofollow">jsbin</a></strong> ( prev <a href="http://stackoverflow.com/questions/2801729/passing-data-to-a-jquery-click-function">answers</a> didn't help much)</p>

<p> </p>

<pre><code>&lt;span id="mySpan" &gt; click here &lt;/span&gt;
  &lt;br/&gt; 
  &lt;input id="myCb" type="checkbox"/&gt;
</code></pre>

<p><img src="http://i.stack.imgur.com/jVqgW.jpg" alt="enter image description here"></p>

<p>i have a listener for <code>checkbox</code> click which do <code>Alert</code>...</p>

<p>However , clicking on the <code>span</code> is <em>triggering</em> the <code>click</code> event for the <code>checkbox</code>.</p>

<p>I want to detect - who really made the checkBox  execute the alert.</p>

<p><strong>But</strong> !</p>

<p>I want :
if first clicked the span , alert
<kbd> <em>i was originally pressed by mySpan</em></kbd></p>

<p>else </p>

<p>if first clicked the checkbox , alert <kbd> <em>i was originally pressed by myCb</em></kbd></p>

<pre><code>$("#mySpan").on('click',function (e) 
  {
    $("#myCb").trigger('click');

  });

$("#myCb").on('click',function (e) 
  {
    doWork(e)
  });


function doWork(e)
{
  alert('i was originally pressed by '+$(e.delegateTarget).attr('id') );
 }
</code></pre>

<p>p.s. i can use a global field or flag solution  - which i DONT WANT.</p>

<p>i will be glad to have a "moving the data" through the <code>e</code> param - solution.</p>

<p>thanks.:)</p>

<h2>edit</h2>

<p>jQuery does support moving data , but i cant write the right code</p>

<p><img src="http://i.stack.imgur.com/exhKH.jpg" alt="enter image description here"></p>
