fires after the control has been clicked
id | string/number | control ID |
e | event | event object |
button.attachEvent("onItemClick", function(id, e){
// code
});
If a control features several input fields, the ID of a clicked field will be passed into the event.