[Typo3] How to add javascript to select box (backend)?
Dmitry Dulepov
typo3 at fm-world.ru
Thu Sep 8 12:15:29 CEST 2005
Hi!
Not enough information. If you generate HTML yourself, nothing prevents
you from putting script inside:
<script>
function onChange() {
selectCtrl = document.tx_myext_pi1_myform.mySelect;
...
}
</script>
<form name="tx_<?= $this->extKey ?>_pi1_myform" ...>
<select name="mySelect" onchange="onChange()">
...
</select>
Dmitry.
Oliver Schröder wrote:
> Hi list,
>
> my extension uses a select box in the backend.
>
> How can I add code to the javascript onchange part?
>
> Oliver Schröder
More information about the TYPO3-english
mailing list