passing arguments to click or submit function
<p>Is it possible to pass arguments to click or submit function like :</p>

<pre><code>$("#example").click(function()
{
  var myVar = x; // refering to x as passed argument
});
</code></pre>

<p>Maybe function inside a function ? </p>

<pre><code>function Func(){
  $("#example").click(function()
{
  var myVar = x;
});
}
</code></pre>

<p>Maybe something like calling <code>Func()('33');</code> will this pass the 33 to the click function, is it possible after all?</p>
