Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

external javascript files can be cached

$(document).ready(function() {
    var e = document.createElement("script");
    e.src = "//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js";
    var t = document.getElementsByTagName("script")[0];
    t.parentNode.insertBefore(e, t)
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #external #javascript #files #cached
ADD COMMENT
Topic
Name
6+8 =