Client-side JavaScript
JavaScript, developed by Netscape, is a smaller language that does not create applets or
stand-alone applications. JavaScript scripts are written as part of
HTML (HyperText Markup Language) documents.
Web browsers that are equipped to interpret JavaScript read the script(s) and
covert the codes into actions.
Embedding JavaScripts into HTML documents can provide levels of interactivity between document
and user far beyond Web pages written in HTML.
When a user accesses a document that has JavaScript embedded in an HTML document,
the entire document is loaded into the user's JavaScript-enabled browser. The browser interprets
the code and prepares to respond to the user entries and actions that may come along. This is
known as "Client-Side JavaScript".
Some advantages of client-side scripting include:
- instant feedback to user,
- interactive JavaScipt embedded pages are fully functional when accessed off-line,
- fast processing time,
- does not require access to a Web server or knowledge of server-browser interaction