[TYPO3] How to include javascript in page header from plugin code?

Chetan Thapliyal chetan at srijan.in
Thu Apr 13 12:20:59 CEST 2006


Thank you very much for your kind assistance.

Regards
Chetan


Oliver Klee wrote:
> Hi,
> 
> Chetan Thapliyal schrieb:
> 
>>I would like to know how one can include javascript in page header from
>>plugin code.
> 
> 
> Like this:
> 
> $GLOBALS['TSFE']->additionalHeaderData[] = '<script
> type="text/javascript" src="pathtojsfile.js"></script>';
> 
> Regards,
> 
> 
> Oliver



More information about the TYPO3-english mailing list