[TYPO3-dev] Problems with onChange in typo3

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon Apr 28 18:01:48 CEST 2008


Jeremy Schoenhaar schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi folks,
> 
>    Unfortuanately I can't find the answer to this anywhere in google.
> 
> When I try to add an onChange event it get's strangly converted.
> I enter onChange=alert("test successful"); in the plugin class. It the
> html output I get onchange="alert(" test="" successfull=""
> This obviously isn't working.

Seems you have enables some HTML cleaning, which doensn't like your invalid 
code. It should be onchange="alert('test successful');"

Masi




More information about the TYPO3-dev mailing list