Javascript click event arg pass to non anonymous function
<p>I have this function:</p>

<pre><code> $("#btn").click(function(e,someOtherArguments)
   {  //some code
    e.stopPropagation();});
</code></pre>

<p>It works, but If I have named function I can't use <code>e</code> because it is undefined.</p>

<pre><code>var namedFunction= function(e,someOtherArguments) 
{
 //some code
  e.stopPropagation();
 }
$("#btn").click(namedFunction(e,someOtherArguments));
</code></pre>

<p>I would like to use this <code>namedFunction</code> because several buttons use it.</p>
