Check documentation for the latest version 6.0 of dhtmlxSuite onKeydown DHTMLX Docs

onKeydown

fires when the native "onkeydown" event is triggered

void onKeydown(object inp,object ev,string name,string value){ ... };

Parameters

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