On 3 Feb, 23:12, marcus <[EMAIL PROTECTED]> wrote:
> because i think this is somehow ugly i just wanted to know if there is
> maybe a better way to do this.

you can put the object directly in the variable

var chosen = $(this);

and then

chosen.empty();

I prefer to put a dollar in the variable name, just to remind me how I
got that object, like this
var $chosen = $(this);
$chosen.empty();

Reply via email to