Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js jquery include external script

// jQuery
$.getScript('/path/to/imported/script.js', function()
{
    // script is now loaded and executed.
    // put your dependent JS here.
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #jquery #include #external #script
ADD COMMENT
Topic
Name
2+4 =