get caller of function in javascript function with jquery?

get caller of function in javascript function with jquery?

Hello,

i call a javascript function when click on a href (for hiostorical reasons) and pass this as a parameter.

onClick="test(this)"

function test(elem){

alert($(elem).html()); //wont work...

}

how can i select that item in jquery?

$(elem).html();??

 

 

 

thank u very much.