[jQuery] Re: Call ajax on sucess response from a previous ajax

2010-01-21 Thread Scott Sauyet
On Jan 20, 11:45 am, Bonji wrote: > I've tried placing the second $.ajax inside the success fuction of the > first $.ajax but the second call never triggers or doesn't return > anything. This technique works for me. http://scott.sauyet.com/Javascript/Demo/2010-01-21a/ I have a nested AJAX c

Re: [jQuery] Re: Call ajax on sucess response from a previous ajax

2010-01-20 Thread Michael Lawson
jQuery (English)" Date: 01/20/2010 12:43 PM Subject: [jQuery] Re: Call ajax on sucess response from a previous ajax

[jQuery] Re: Call ajax on sucess response from a previous ajax

2010-01-20 Thread Bonji
Ok basically on click of any anchor tag this ajax script calls a php script called sessions.php //data var data = 'do=update'; //run ajax $.ajax({ //post rather than get (default) type: "POST", //pass to php script url: "/php-bin/sessions.php", //send dat