[TYPO3-english] external Javascript with includeJS

Lamb, Brian blamb at jcvi.org
Mon Mar 8 16:51:39 CET 2010


Greetings, 
 
I have a need to load an external JavaScript file. Can this be done with includeJS? I tried:
 
page.includeJS {
  file1 = http: <http://www.someothersite.com/random.js> //www.someothersite.com/random.js
  file1.type = text/javascript
}
 
but this isn't reflected on the site. 
 
Thanks, 
 
Brian Lamb


More information about the TYPO3-english mailing list