dojo onchange event
am 09.07.2007 09:05:53 von bighamorahaHi.
I have a dojo checkbox. I made it dynamically.
But on change event didn't work correctly.
my code is :
check=(ctrl['value']==true ? "checked=''" : "");
def="
widgetId='"+widgetId+"' name='"+
ctrl.name+"' dojoType='CheckBox' "+check+"
tabindex='"+tabindex+"'/>
";ctrl.name+"' dojoType='CheckBox' "+check+"
tabindex='"+tabindex+"'/>
I have a dojo floating pane and I finally do this:
this.panel.setContent(def);
and I call my onchange function with this:
dojo.event.connect(div, 'onchange', this,'changeTBState');
Is there any body to help me?