JS loader: Load JavaScript and CSS resources dynamically

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-11-28 (8 months ago) RSS 2.0 feedNot enough user ratingsTotal: 194 All time: 257 This week: 9Up
Version License JavaScript version Categories
js-loader 1.0.4MIT/X Consortium ...1.0HTML
Description Author

This object can load JavaScript and CSS resources dynamically.

It can CSS or JavaScript resources be loaded from a given URL by inserting link tags on the current page.

A callback function may be invoked after loading.

The object can also check if certain CSS or JavaScript resources were loaded and unload them.

Picture of Elger van Boxtel
Name: Elger van Boxtel <contact>
Classes: 4 packages by
Country: The Netherlands The Netherlands
Age: ???
All time rank: 292 in The Netherlands The Netherlands
Week rank: 19 Up2 in The Netherlands The Netherlands Equal
Innovation award
Innovation award
Nominee: 1x

Winner: 1x



Javascript lib to dynamically load javascript and CSS

Fork me on GitHub https://github.com/elgervb/JSLoader

  Files folder image Files  
File Role Description
Files folder imageexample (2 files)
Files folder imagelib (1 file)
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files  /  example  
File Role Description
  Accessible without login Plain text file impl.js Example Example Javascript
  Accessible without login HTML file index.html Output Example HTML

  Files folder image Files  /  lib  
File Role Description
  Plain text file loader.js Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:257
This week:9Up