Check documentation for the latest version of dhtmlxSuite onAccess DHTMLX Docs

onAccess

fires when the specified native event fires

void onAccess(string eventName,event evObj);
eventNamestringevent name, possible values: focus, blur, click, keydown, keypress, keyup, mouseup, mousedown
evObjeventa native event object

Example

myEditor.attachEvent("onAccess", function(eventName, evObj){
    if (eventName == "blur") {
        console.log("the editor is left");
    }
});

Back to top