Divided into JS and VBS
VBS
SUB Control ID_ON event function name (parameter)
..........
End Sub
JS
script>
How to enable ActiveX Control Event Handling ON A Web PageHttp: //support.microsoft.com/default.aspx? Scid = kb; EN-US; 200839