title: the right way to pass variable to a callback function
body: <p>When I have</p>
  
  <pre><code>$('#div').click(function(someVar){//do something with soneVar});
  </code></pre>
  
  <p>but I want to have a named callback function, am I palcing the passed <code>someVar</code> correctly?</p>
  
  <pre><code>$('#div').click(someFunction(someVar));
  function someFunction(someVar){}
  </code></pre>