Loading Jquery in script from another .js file -


Just for fun ...

What is a .js file that loads jquery Is a remote site and then jquery utlizes inside the .js file ...

Then say site: www.sitea.com ... does not use jquery but they get this awesome script on the site That they want to use in their page ... so they do this:

  & lt; Script src = "http://siteb.com/cool -script-location / cool-script.js" type = "text / javascript" />  

Now ... Cool script uses lots of jquery ... but since the site does not use jquery ... I like something like cold-script.js Can:

  document.writeln ('

  

Comments