Login Register

add validation

strugling to add onblur event to my text field

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

Syndicate content