Does anyone knows ajax script loader that allows lazy loading of js and css files and also consist of dependency list that can be defined in external script?
Why not use http://unwrongest.com/projects/lazy/ ?
In my various projects I use LABjs. Easy and flexible :)
If you need a smart why to load or skip resources, see http://yepnopejs.com/ :
yepnope is an asynchronous conditional resource loader that's super-fast, and allows you to load only the scripts that your users need.
Modrnizr is a good example of yepnoejs usage.
in script (html) which is loaded with your ajax-called page
©2020 All rights reserved.