Need help with AjaxQ?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

Foliotek
205 Stars 50 Forks MIT License 75 Commits 10 Opened issues

Description

A tiny, simple jQuery plugin for sequential ajax requests

Services available

!
?

Need anything else?

Contributors list

AjaxQ

A tiny, simple jQuery plugin for sequential ajax requests

See http://foliotek.github.com/AjaxQ for a demonstration and documentation

Usage

$.ajaxq
follows the $.ajax options and return value, with an extra first parameter (the queue name).
    $.ajaxq(name, opts);

$.getq
follows the $.get options and return value, with an extra first parameter (the queue name).
    $.getq(name, opts);

$.postq
follows the $.post options and return value, with an extra first parameter (the queue name).
    $.postq(name, opts);

$.ajaxq.isRunning
returns a boolean representing if any requests are currently running.
qname
is an optional parameter.
    $.ajaxq.isRunning(qname);

$.ajaxq.getActiveRequest
returns the currently processing jqXHR for the given queue.
qname
is required.
    $.ajaxq.getActiveRequest(qname);

$.ajaxq.clear
removes any unprocessed requests from the queue.
qname
is an optional parameter.
     $.ajaxq.clear(qname);

$.ajaxq.abort
aborts the current request, and removes any unprocessed reqeusts from the queue.
qname
is required.
    $.ajaxq.abort(qname);

Demo

http://foliotek.github.com/AjaxQ#demo

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.