We are using the dijit.form.DateTextBox dojo object. We need to register on the OnBlur event in order to cause the page to be recreated when the date is changed.
While the page is being recreated the original controls are deleted and the whole page is recreated, there for after calling this event listener dojo is continuing with its own code but the object doesn't exist anymore so we get an error:
'this.domNode' is null or not an object
Can we use another way to register the OnBlur event in order to avoid this situation?
Or is there a different solution?
onblur
How do I cause dojo to stop an event after calling to my event listener
Submitted by galit on Tue, 04/22/2008 - 07:28.
- Login or register to post comments
- Read more
- Unsubscribe post
dojo.connect with dijit.Editor
Submitted by v_krishna on Mon, 02/18/2008 - 20:33.
I've got an application where editor(s) are created programmatically, and then (for some of them) an onBlur event is attached to the Editor. The javascript looks something like:
function loadIditable(json) {
//get json object from perl
var myJSONObject = eval('(' + json + ')');
for (var cnt=0;cnt
strugling to add onblur event to my text field
Submitted by bandlamudi on Thu, 02/14/2008 - 12:49.
Hi ,
I am new to dojo tool kit.
my aim is to add onblur validation to my text field
how I can do this validation(it should be customized)
I tried this
dojo.addOnLoad(function(){
dojo.connect(dijit.byId('rchTxt'), "onblur",f1());
});
but f1 function is calling only once that is onload
how I can add this event
thanks in advance
