8.1 rationale
Javascript is a scripting language developed by Netscape; it is the
primary scripting language used on the Web. Other languages include
perl and vbsript, but javascript is by far the most popular.
- Javascript can be used to provide navigation feedback. Before
CSS-compliant browsers, navigation feedback was provided primarily
by using javascript mouseovers. This tutorial will address three
kinds of mouseover.
- Javascript can also be used to detect browser version and serve
up the proper CSS stylesheet.
- Javascript is often used in form validation. This is a type of
error prevention -- a javascript alert advises the web customer that
she had improperly completed a form field before submitting the form
to the web server. Thus the correction can be made before the interchange
between browser (client) and web server.
|