[TYPO3-project-formidable] How can I pass some vars into Js code using codebehind ?

Nikitin S.M. nikitinsm at gmail.com
Mon Sep 8 13:26:55 CEST 2008


# Formidable.Classes.testCodeBehind = 
Formidable.Classes.CodeBehindClass.extend({
#
#     iCounterJs: 0,
#
#     btnHelloWorldJs_Click: function(mayBeSomeInputVar) {
#         this.iCounterJs++;
#         this.oForm.rdt("boxMessage").setHtml(
#             "Hello, World ! [Fired by a Js event, " + this.iCounterJs 
+ " times]"
#         );
#     }
#
# });


More information about the TYPO3-project-formidable mailing list