Depends on what you are trying to acomplish:
This will be solid and will give you this of the outside:
$this = $(this);
$('#selected').click(function(){
dosomething($this);
})
This is suffcient if you want to pass this meaning "#selected" element:
$('#selected').click(function(){
dosomething($(this));
})
Or you can do this to run dosomething in the context of "#selected" element:
$('#selected').click(function(){
dosomething.call(this);
})
The last will allow to use this
inside dosomething
function which will mean "#selected" element.