Skip to content

A series of jQuery plugins that allow the downloading of multiple JavaScript requests with a single call.

Notifications You must be signed in to change notification settings

JimBobSquarePants/jQuery.MultiGetScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery.MultGetScript

A series of jQuery plugins that allows the downloading of multiple JavaScript requests with a single call.

Features

  • Allows the downloading of multiple JavaScript requests with a single call.
  • Downloaded scripts can be cached.

Dependencies

  • jQuery v1.7.0 (or higher).

Usage

// Single url; cached script.
$.getCachedScript(url, function(){ // callback });

// Multiple urls; cached script.
// Note the array as the first parameter.
$.getCachedScript([url1, url2], function(){ // callback });


// Single url; non-cached script. Same as standard $.getScript.
$.getScript(url, function(){ // callback });

// Multiple urls; non-cached script.
// Note the array as the first parameter.
$.getScript([url1, url2], function(){ // callback });

About

A series of jQuery plugins that allow the downloading of multiple JavaScript requests with a single call.

Resources

Stars

Watchers

Forks

Packages

No packages published