![]() |
||
| |
|
|
|
|
|
|
Javascript JavaScript is NOT Java. JavaScript is a basic scripting language that allows web authors to create dynamic pages that react to user interaction. JavaScript is based loosely on the Java programming language, which when first released, had taken the web and programming community by storm. JavaScript programs are contained within the HTML code of the Web page and are interpreted by the browser as it its read in contrast to Java programs that are downloaded separately from the HTML page. That being said, Javascript is a client-side scripting language, and has no control over server functions. All Javascript functions and calculations and done client side. JavaScript provides greater flexibility to the web designer through such luxuries as being able to create windows, display moving text, sound or other multimedia elements with relative ease. JavaScript often is used in place of common CGI operations, like verifying form input. It can also be used to control Java applets or plugins or open up new browser windows to aid in site navigation. Below is a simple calculator written in Javascript, that will calculate your age. The script is only about 7k in size.
|
Table of Contents |
||
|
© 2000-2004 IceHouse Designs, Inc. View Privacy Statement. |
||||