onItemClick

fires after the control has been clicked

void onItemClick(string/number id,event e){ ... };

Parameters

idstring/numbercontrol ID
eeventevent object

Example

button.attachEvent("onItemClick", function(id, e){
    //code
});

Related samples

See also
Back to top