Check documentation for the latest version of dhtmlxSuite onButtonClick DHTMLX Docs

onButtonClick

fires when the user clicks a button

void onButtonClick(string name);
namestringcontrol name

Example

myForm.attachEvent("onButtonClick", function(name){
     // your code here
});

Details

example of init:

...
{type: "button", name: "btn2", value: "Submit"}
...
Back to top