Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > dojo onchange event

Reply
Thread Tools

dojo onchange event

 
 
raha
Guest
Posts: n/a
 
      07-09-2007
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?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
editor for programming AJAX using dojo lib Franz Java 1 10-27-2008 05:43 PM
DOJO xmlStore Child Reference mpurohit Software 0 07-14-2008 12:51 PM
console and dojo not defined boanerges Java 1 02-03-2008 06:27 PM
Struts Dojo Tags bennyandlinds@gmail.com Java 0 12-05-2007 08:06 PM
Struts File Upload / Dojo issue SB Java 1 11-21-2006 12:48 AM



Advertisments