How to call jQuery function by its name. For example:
var fn = 'hide',
myObj = $("#smth");
// here I want to hide myObj ( $("#smth").hide() )
// my variants were:
// fn.call(myObj) - doesn't work
// myObj.fn() - doesn't work (I've not expected, just tried =) )