I have some jquery code like so:

    $(document).ready(function() {
                nextPage ( 'div#advance, div#next a, div#prev a' );
        });

        function nextPage(clicker) {
                $(clicker).click(function () {...


So the user can click any of the places in the argument list to start
the function. Now, is there any way to figure out WHICH place in the
HTML they clicked - in other words, which argument is being passed?

I did a simple alert(clicker); and it seems that no matter which area
on the page is clicked, clicker is the value of the argument list -
all of them. Any way to trim it down? Or is there a better way to do
this?

Any help appreciated - I'm stymied.

Andrew

Reply via email to