A tiny, simple jQuery plugin for sequential ajax requests
Switch branches/tags
Nothing to show
Pull request Compare This branch is 56 commits behind Foliotek:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
LICENSE
README.md
ajaxq.js
index.html

README.md

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 (in any queue.

$.ajaxq.isRunning();

Demo

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