Skip to content

Instantly share code, notes, and snippets.

@nkpro2000sr
Last active February 21, 2020 07:03
Show Gist options
  • Save nkpro2000sr/af9f3eb1346c1dc6a1a8ce78ec78cca1 to your computer and use it in GitHub Desktop.
Save nkpro2000sr/af9f3eb1346c1dc6a1a8ce78ec78cca1 to your computer and use it in GitHub Desktop.
how to load another js script from js script
var url = "url_of_another_js"
document.write('<script src="'.concat(url,'"></script>'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment