Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Extended version of jQuery.getScript() that retries failed requests and (bonus!) allows responses to be cached.
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
jquery.getscriptretry.js

README

getScriptRetry v1.0 (2010-10-08)
http://github.com/tfe/jquery-getscriptretry

Extended version of jQuery.getScript() that retries failed requests and (bonus!) allows responses to be cached.

© 2010 Todd Eichel (http://toddeichel.com/)
Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php

Inspiration:
 - http://harrybailey.com/2010/03/more-powerful-jquery-getscript-with-cache-control/
 - http://zeroedandnoughted.com/defensive-ajax-and-ajax-retries-in-jquery/
 - http://github.com/execjosh/jquery-ajax-retry/
Something went wrong with that request. Please try again.