Reply to dojo onchange event

Your name:

Reply:


Posted by raha on 07/09/07 07:05

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?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация