Next: The Need for Domain-Specific
Up: JavaScript Programming
Previous: Controlling HTML Document
For graphical user interfaces like HTML forms,
a user action is handled by invocation of event-handlers.
Each event-handler is a call to a chunk of JavaScript code that
is either in-lined with the HTML elements or defined separately
between <script> </script> tag.
For example, when a user points to an image of a world map in a
HTML
document a pop up suggests the country name at which the user
is currently pointing to.
Sunil Kothari
2006-04-29