Check documentation for the latest version of dhtmlxSuite onKeydown DHTMLX Docs

onKeydown

fires when the native "onkeydown" event is triggered

void onKeydown(object inp,object ev,string name,string value);
inpobjectthe input element that fires the event
evobjectthe event object
namestringitem name
valuestringitem value (for radios only)

Example

myForm.attachEvent("onKeyDown",function(inp, ev, name, value){
    //your code here
});

Back to top