is it legal to store jquery reference?
<pre><code>var global_ref = null;

function a(){
    function some_click_handler {
        global_ref = $(this);
    }
}

// later in 
function b()
{
    $(global_ref).css(...) // or global_ref.css(...) ???
}
</code></pre>

<p>Is above concept right? and the syntax right?</p>
