[jQuery] Re: work with what this.id gave me

2008-02-04 Thread marcus
that looks much better. thank you. andrea varnier schrieb: > 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

[jQuery] Re: work with what this.id gave me

2008-02-04 Thread andrea varnier
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