Hi,

I want to do smth in javascript when the combo changes.
How can I add an onchange action to my combo?
Thanks...

   def bind_xxx(self, ctx):
       desc = 'aaa'
       return annotate.MethodBinding(
           'xxx',
           annotate.Method(
               arguments=[
                   annotate.Argument('ctx', annotate.Context()),
                   annotate.Argument('fisturu', annotate.Choice(
self.getComboInput, stringify=lambda x:self.combos[x], label='Xyz')),
               ],
               label='eee:',
           ),
           action='OK'
       )

   def xxx(self, ctx, **args):
       ...
_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to