Well I tried it, and it seems to work, however it triggers the 'error' handler too:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript" src="js/jquery-1.2.1.js"></script> <script type="text/javascript" src="js/plugins/jquery.ajaxQueue.js"></ script> <script type="text/javascript"> jQuery(function(){ $.ajaxQueue({ url: '/inc/inc.text.html', type: 'GET', mode: 'sync', error: function() { alert('error on call 1'); }, success: function(data){ $('body').html(data); } }); $.ajaxQueue({ url: '/inc/inc.text2.html', type: 'GET', mode: 'sync', error: function() { alert('error on call 2'); }, success: function(data){ $('body').html(data); } }); }); Odd.... On Dec 5, 7:52 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Thanks - I'll give it a go... > > On Dec 5, 5:41 pm, J�rn Zaefferer <[EMAIL PROTECTED]> wrote: > > > [EMAIL PROTECTED] schrieb:> Hi > > > > I'm trying to use the Ajax Queue plugin with the following code: > > > > But everytime it runs I get an error saying 'jQuery.dequeue is not a > > > function' and doesn't implement the second part to the queue. Any > > > ideas? > > > You could give this update a > > try:http://dev.jquery.com/view/trunk/plugins/ajaxQueue/jquery.ajaxQueue.js > > > Its not compatible with the plugin that Mike released, but should run > > with latest jQuery. Use $.ajax instead of $.ajaxQueue and provide an > > additional mode option, eg. mode: "queue". > > > J�rn