This example demonstrates a very basic proof-of-concept of how to adapt jQuery framework to use flXHR instead of its other XHR (and workaround) methods. The basic concept is that jQuery has a 'xhr' callback function that acts as an override "factory" function to produce a new XHR object to use for each request. If you force this xhr factory function to generate an instance of flXHR (or return an existing reusable one) each time, then jQuery will not know the difference, because flXHR is compatible with the native XHR API.

IMPORTANT: This demo requires at least jQuery 1.3.1.

Each successive click of the button will fire off twice as many concurrent requests as the previous click, to demonstrate how the "instancePooling" feature re-uses previous instances when available.