you can use blur event (onblur) in your listener ...


blur:function(me){
var code=me.getValue();
alert (code);
}