How to define function parameter with jQuery
<p>i have some syntax problem... This is my little script:</p>

<pre><code>$('.basket_details, .advanced_search_panel, .producers_major_panel').hover(function () {
    mouse_is_inside = true;
}, function () {
    mouse_is_inside = false;
});
$("body").mouseup(function () {
    if (mouse_is_inside) {
        $('.advanced_search_panel, .producers_major_panel').fadeOut('slow');
        $('.basket_details').slideUp('slow');
    }
});
</code></pre>

<p>everything's fine but my chrome console screaming that i have syntax errors, and <code>mouse_is_inside</code> is not define, how to correct this mistake?</p>
