[jQuery] Re: argument list
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
> 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.