JavaScript Dynamic Load: Dynamically load JavaScript script files

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 65%Total: 242 All time: 195 This week: 4Up
Version License JavaScript version Categories
js-dynamic-load 1.0GNU General Publi...1.0Language
Description Author

This object can dynamically load JavaScript script files.

It can take a list of URLs of script files to load dynamically any time even after the page is loaded.

Each script can be loaded by giving a symbolic name that is mapped to the actual script URL.

The object can check if the script was already loaded to prevent duplication.

It appends a script tag to the current page to load the requested script file.

When the script loading is finished, a given callback function may be invoked.

Innovation Award
JavaScript Programming Innovation award nominee
February 2014
Number 2

Prize: One downloadable e-book of choice by O'Reilly
Sometimes your Web pages need to load a library dynamically depending needs defined later when the Web page JavaScript code is executed.

This object can dynamically include JavaScript library files even after the initial page has loaded.

Manuel Lemos
Picture of jino
  Performance   Level  
Name: jino <contact>
Classes: 1 package by
Country: India India
Age: 36
All time rank: 10710 in India India
Week rank: 6 Up1 in India India Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file Documentation Doc. Main Documentation
Plain text file LoadJSFiles.js Class Main Class File
Plain text file index.html Example Example file / index file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:195
This week:4Up
User Ratings User Comments (1)
 All time
8 years ago (keivan nadri)