[jQuery] Re: argument list

2008-10-07 Thread [EMAIL PROTECTED]
Thanks - exactly what I was looking for. On Oct 3, 9:19 pm, Dave Methvin <[EMAIL PROTECTED]> wrote: > >         function nextPage(clicker) { > >                 $(clicker).click(function () {... > > Inside the click handler, the "this" variable is the DOM element that > was clicked. Try alert(thi

[jQuery] Re: argument list

2008-10-03 Thread Dave Methvin
>         function nextPage(clicker) { >                 $(clicker).click(function () {... Inside the click handler, the "this" variable is the DOM element that was clicked. Try alert(this.id) and you'll see what I mean.