[FLOW3-general] "change" event on fluid form viewhelpers
Thomas Plessis
t.plessis at totemnumerique.com
Tue Feb 14 17:48:11 CET 2012
Thx Bastian!
Thomas Plessis
Développeur multimédia
--
TOTEMnumerique
9, Place St Étienne
31000 Toulouse
T. 05 61 14 64 54
F. 05 61 14 64 55
Le 14 févr. 2012 à 16:06, Bastian Waidelich a écrit :
> Thomas Plessis wrote:
>
> Hi Thomas,
>
>> There're no 'onchange' event on fluid form view helpers like select or text box?
>> Is there a way to add it?
>
> <f:form.select additionalAttributes="{onchange: 'alert(\'inline js is bad\')'}" />
>
> or you could add the event handler "unobtrusively" of course:
>
> <f:form.select id="mySelect" />
>
> in SomeFile.js:
>
> document.getElementById('mySelect').onchange ...
>
>
> HTH
> Bastian
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
More information about the FLOW3-general
mailing list