>         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.

Reply via email to