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.
The one problem I have is if I set some certain text to onClick, I don't get the finger pointer with the mouse pointer that you see when you click on actual links.