I'm trying to get the text of what I clicked for later in the
function, but can't seem to pass it.

$("#pnav li a").click(function(){
        var page = $(this).text();
        $("#article").slideUp("slow", function(page){
                alert(page);
        });
        return false;
});

If I test the alert before I go into the slideup it works, do you have
to pass it a different way or am I doing it right just wrong, lol?

Reply via email to