Attributes collection to add client-side code
to an ASP.NET Web control's client-side event. Below you will see a button: move the mouse over the
button and a messagebox should appear (assuming your browser supports client-side JavaScript code).
The HTML rendered by the Button control is as follows:<input type="submit" name="btnClick" value="Click Me!" id="btnClick" onmouseover="alert('Hello, World!');" />
Source Code
|