What is an Event ?
VBScript's interaction with HTML is handled through events that occur
when the user or browser manipulates a page. When the page loads, that
is an event. When the user clicks a button, that click too is an event.
Other examples of events include pressing any key, closing window,
resizing window, etc. Developers can use these events to execute VBScript
coded responses, which cause buttons to close windows, messages to be
displayed to users, data to be validated, and virtually any other type
of response imaginable to occur.
Events are a part of the Document Object Model (DOM) and every HTML
element has a certain set of events, which can trigger VBScript Code.
Please go through this small tutorial for a better understanding HTML
Event Reference. Here, we will see few examples to understand a relation
between Event and VBScript.
No comments:
Post a Comment