When passing a callback function, can you set a parameter?
<p>I am passing a callback function as a parameter to a function, and I am doing this in various parts of my web app.</p>

<p>I want the callback to react a little differently in some cases, can I pass a parameter somehow to this callback?</p>

<pre><code>soemethod(callback);
otherethod(callback);

otherother(callback(a=1));
</code></pre>

<p>How could I pass a=1 in the callback?</p>
