[Typo3-dev] Eval of TCA field with JavaScript
Thomas Hempel
thomas at scriptme.de
Thu Mar 31 18:40:53 CEST 2005
Hi Franz,
> In your main module class
> /**
> * Main function of the module. Write the content to $this->content
> */
> function main() {
> ...
> // JavaScript
> $this->doc->JScode = '
> <script language="javascript" type="text/javascript">
> script_ended = 0;
> function jumpToUrl(URL) {
> document.location = URL;
> }
> </script>
> ';
It seems I doesn't made clear that I'm not working inside a module but
inside a normal form in the BE.?
It's clear to me how to insert JS into modules, but I'm not working with
that.
By the way, it works with hooks now. :) This is not so nice but useable.
Ciao,
Thomas
P.S.: @Franz: Take a look at our FTP Server. I hope you know who I am!? :)
More information about the TYPO3-dev
mailing list