News

The Attributes.Add method shown on the last line adds an "onClick" event to the button named "Button1." This causes the button to execute the JavaScript code defined in the textHTML variable.