Skip to content

lingyucet/loadjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

loadjs

Loading javascript when the Dom loaded

You can execute code after the Script has loaded:

How to use:

<head>
...
<script>
    
    jsLoader({
        jsUrls       : ['http://www.example.com/example.js','./example.js'], //url
        jsIndex      : 0,  //set default
        sequenceSync : true  //false is async  true is sync;
    })
    
</script>
...
</head>

About

Loading javascript when the Dom loaded

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published