We can uses jQuery to import, include or require a js file within another js as shown below.
$.getScript("filename.js", function(){
alert("filename.js loaded.");
});
Cheers,
Samitha
$.getScript("filename.js", function(){
alert("filename.js loaded.");
});
Cheers,
Samitha