[TYPO3-dev] add Javascript function

Franz Holzinger franz at fholzinger.com
Sat Aug 19 08:53:32 CEST 2006


Hello Stefan,

> 
> $GLOBALS['TSFE']->setJS('identifier',$JavaScriptText);
> 
> But this seems to be buggy in 3.8/3.8.1:
> I got 'scrambled' JavaScript in my Source,
> if adding much JavaScript ...
> 
See topic 'HTMLcleaner wrongly cleans JavaScript' on this mailinglist.

Avoid '<' without surrounding ' '.

I will write an error correction to this.

- Franz




More information about the TYPO3-dev mailing list