- Form validation or manipulation.
- It offer's web designers a way to validate a form's correctness
before the page is submitted to a server. This
function is particularly well suited
to save the server from extra processing.
- opening new windows,
- generating text,
- identifying the user's web browser,
- and manipulating styles.
extreme usefulness for providing interactive web pages.
of an HTML document. Tthe Internet browser
section, it is executed when the html
document is loaded. When placed in the head
section. it is executed when triggered by an event such
as clicking your mouse.