jQuery - how to access variable from outside of the form
<p>Following example: </p>

<pre><code>var ClickedTab = $(this).attr("href").substring(1);

$('#loaderDiv').load(TrimedClickedTab + '.html', function() {

    if (ClickedTab == 'quick-form') {

         console.log(' Quick FOR&lt;');

    }
});
</code></pre>

<p>Currently  <code>ClickedTab</code> inside if statement will be undefined, how to access this variable from inside of the function withou changing the syntax?</p>
