Sequential actions/files loading on jQuery
Clone or download
Latest commit 5cff9ca Aug 27, 2013
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Small improvement, documentation updates Sep 4, 2012 Updated README Aug 27, 2013 Added documentation Aug 19, 2012
jquery-seq.js Fixed bug, updated README Aug 27, 2013



jQuery-seq is a set of functions to do some tasks sequentially. It uses jQuery deferred object. You can either execute some functions sequentially with sequentialExecute or use ready functions to load scripts or stylesheets or other files (flash for example) one after another.

Most useful functions are withScripts and withStyles


Use cases are

withScripts('/js/some-script.js', '/js/some-other-script.js', function(){
  alert('all scripts loaded');
withStyles('/css/some-style.css', '/js/some-other-style.css', function(){
  alert('all css files are loaded and appended to head');


Documentation also available. Just clone repository and look at doc/index.html