I have something like this:
$('element.selector').live("click", function (){
run_some_func ();
});
$('element.selector2').live("click", function (){
run_some_func ();
});
Now in the function I need to use $(this):
function run_some_func () {
$(this).show();
}
How do I get the function to know that $(this) is element.selector that is clicked?
Thanks.