Interesting. Seems to be just about the same code.... But the documentation is really out of date (more like wrong..). From what I can tell the plugin now extends the $.ajax call with the additional setting of mode, i.e. mode: "queue" .
The documentations (in the js) seems to show a queued ajax call with "$.ajaxQueue", same as in the initial code. I'll see if I understood this right and can get it to work. On Feb 11, 10:09 am, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > sozzi schrieb: > > > Hi there, > > > I'm trying to write a plugin for the SmugMug JSONP API. One quirk is > > that they require a SessionID. So prior to asking for any data the > > initial JSONP call for the SessionID has to be returned. > > > I think the AJAXQueue plugin (http://dev.jquery.com/~john/plugins/ > > ajaxqueue/) would be a perfect fit. Unfortunately the plugin throws > > and error: > > FireBug Console output: > > jQuery.dequeue is not a function > > complete()ajaxqueue (line 12) > > complete()jquery.js (line 2790) > > onreadystatechange(5)jquery.js (line 2740) > > [Break on this error] jQuery.dequeue( jQuery.ajaxQueue, "ajax" ); > > > I'm not quite certain what would cause this and if it is a problem for > > my case at all. > > > Any help is appreciated. > > Give this one a > try:http://dev.jquery.com/view/trunk/plugins/ajaxQueue/jquery.ajaxQueue.js > > Jörn