Loader: Dynamically load a remote JavaScript file

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 239 All time: 201 This week: 4Up
Version License JavaScript version Categories
loader 1.0GNU General Publi...1.6Language
Description Author

This object can dynamically load a remote JavaScript file.

It creates a script element and appends to the current page body to load a remote JavaScript file given its URL.

The file is loaded asynchronously. When it loads, the object may invoke a given callback function.

Picture of Rafael Lúcio
  Performance   Level  
Name: Rafael Lúcio <contact>
Classes: 11 packages by
Country: Brazil Brazil
Age: 35
All time rank: 51 in Brazil Brazil
Week rank: 6 Down1 in Brazil Brazil Equal
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file test-loader.js Example Script to be loaded by the loader
Plain text file index.html Example Loader test
Plain text file loader.js Class Loader Class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:201
This week:4Up