Categories | Question details Back To List | ||
Using the event onblur Hi, I'm trying to use the dhtmlXCombo's event onblur, but I'm having some problems... I would like to know if the it's possible my function can receive the owner as parameter, something like this: comboObj.attachEvent("onBlur",function(owner){ alert(owner.getActualValue); }) The main reason for that it's because I have 5 combos in my webpage and I would like to use the same event in all of then. Regards, Marcus Answer posted by Support on Dec 05, 2007 05:04 >>The main reason for that it's because I have 5 combos in my webpage and I would like to use the same event in all of then. Inside any event handler "this" point to owner object, so you can use comboObj.attachEvent("onBlur",function(owner){ alert(this.getActualValue()); }) |