Login Register

onChange

IE doens't trigger onChange Event in DateTextBox

Hello guys
I'm facing a strange problem with Internet explorer and DateTextBox..
I have this in my code

DateTextBox Validation

Hi, I'm brand new to Dojo, and I'm attempting to use the DateTextBox widget to give users a localized calendar from which to select a date. The localization aspect is working well, so that part is great.

My problem is that I need to be able to send the localized displayed value to the server rather than the universal Dijit value. I've been able to accomplish that with a dynamic serialization formula. However, for complicated reasons, I also need to be able to validate the displayed value rather than the Dijit value using an existing script. How can I do that?

dijit.InlineEditBox and onChange

I'm creating a bunch of dijit.InlineEditBoxes programmatically, and having some trouble with the onChange event. While if you create the editboxes statically, you can set a complex onChange function, ie

Edit me

when creating them programmatically, it seems that the onChange has to be a pointer to a function, and only passes the new value of the editbox; ie

var inlineEdit = new dijit.InlineEditBox({
autoSave:true,

TimeTextBox onChange firing twice

I've set an onChange function to a TimeTextBox that is firing twice; once when the value is selected from the drop down and again when the focus is moved off the widget. Is there a way to avoid the onChange happening twice or somehow cancel the second event?

modified test_TimeTextBox.html :

Syndicate content