I'm having a hard time finding the solution for this for some reason -- perhaps it's right under my nose.
But is there a way to essentially combine a string and an object so I'm not repeating the same method on a certain event?
$j(window).resize(function(){
//stuff here
});
$j('body').resize(function(){
//same stuff here
});
Maybe I'm just thinking about it the wrong way?
Thanks.