Click on ‘Manchester United’, then ‘Arsenal’ straight after. It will ignore the ‘Arsenal’ request as is already in the middle of making an Ajax request. Once the content has loaded, new requests can be made again.
Click on ‘Manchester United’, then ‘Arsenal’ straight after.
It will ignore the ‘Arsenal’ request as is already in the middle of making an Ajax request.
Once the content has loaded, new requests can be made again.
This example only prepares the target and runs the ajax request if an ajax request is not already running.
It makes use of the fact that ssPrepareTarget returns the value ‘false’ if the loading image is present, and uses this to do the check.
This single-threading algorithm is used in ssAjax.
The Ajax pattern works on forms as well as links.