![]() |
dojo onchange event
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? |
| All times are GMT. The time now is 07:48 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.