[jQuery] Re: submit via link and redirect dynamically

2008-01-14 Thread antiheld2000
thanks, that's it. On 13 Jan., 23:21, Danny <[EMAIL PROTECTED]> wrote: > I'm not an AJAX guru, but it looks like the pageNumber variable is > local to each of your click functions and won't be seen by the > showResponse function. > Make it global (actually, local to the document.ready function):

[jQuery] Re: submit via link and redirect dynamically

2008-01-13 Thread Danny
I'm not an AJAX guru, but it looks like the pageNumber variable is local to each of your click functions and won't be seen by the showResponse function. Make it global (actually, local to the document.ready function): $(document).ready(function(){ var pageNumber; // local variable in this docu