Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Sequential actions/files loading on jQuery
Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
doc
README.md
generate-documentation.sh
jquery-seq.js

README.md

jQuery-seq

About

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

Usage

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

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

Something went wrong with that request. Please try again.