onItemClick

fires after the control has been clicked

void onItemClick(string/number id,event e);
idstring/numbercontrol ID
eeventevent object

Example

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

Details

The ID of the whole control is passed (but not a separate option).

See also
Back to top