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

onKeyPressed

fires right after the key is pressed inside of the combo

void onKeyPressed(type keyCode){ ... };

Parameters

keyCodetypekeyCode of the pressed key

Example

myCombo.attachEvent("onKeyPressed", function(keyCode){
    //your code here
 });

Back to top