Passing a jquery method as a parameter into a function?
<p>Is it possible to pass a jQuery method as a parameter into a function , for example:</p>

<pre><code>function set_action(a,b)
{
  $(a).b;
}

$(function(){
    $('#div_id1').click(function(){
        set_action('#div_id2','hide()');
    });
});
</code></pre>

<p>?</p>
