Hi.
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="<div class='checkbox' dir='rtl' id='"+widgetId+'div'+"'><input
widgetId='"+widgetId+"' name='"+
         ctrl.name+"' dojoType='CheckBox' "+check+"
tabindex='"+tabindex+"'/><label>"+ctrl.text+"</label></div>";
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?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to