Jquery passing function values to a ajax function
<p>I've two jQuery UI date pickers and a drop down box.</p>

<p>Each of them are a function.  Now how do i take the three function variable and pass it to AJAX function?</p>

<p>I tried defining var a global but this is not working.</p>

<p><strong>Below is dummy example code</strong></p>

<pre><code>$('selector').submit(function() {
    var a = this.value;
});

$('selector').submit(function() {
    var a = this.value;
});

$('selector').submit(function() {
    var a = this.value;
});

$ajax();
</code></pre>

<p>Want to pass those variables to ajax function.</p>
