Jquery easy variables issue
<p>I am trying to pass the variables to callback function in Jquery</p>

<p>I have:</p>

<pre><code>var test;

$('.img').hover(function(){
   test='this is test';

}, function (){
   //how do I pass the test value to the callback function..??
   console.log(test)

})
</code></pre>

<p>Thanks for the help.</p>
