Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

ARCHIVED: What is JavaScript?

JavaScript is an object-oriented scripting language developed by Netscape Communications for client/server applications. JavaScript is not the same as Java, although the languages do have similar syntax.

There are two types of JavaScript:

  • Navigator (client-side) JavaScript

  • LiveWire (server-side) JavaScript

Navigator JavaScript

All versions of Netscape Navigator starting with version 2.0 are capable of interpreting JavaScript statements that are part of an HTML document. When a remote site sends a document containing JavaScript statements, your browser executes these statements, producing the results you see.

LiveWire JavaScript

LiveWire refers to a development environment for creating server-based applications using JavaScript. These applications are similar to CGI scripts in their behavior.

Basic differences between JavaScript and Java

  • JavaScript is an interpreted language, while Java code is compiled before you download it.

  • JavaScript does not support classes or inheritance.

  • JavaScript has "loose typing"; that is, you don't need to specify the data types of variables.

  • More browsers support Java than JavaScript.

This document is loosely based on information obtained from Netscape's JavaScript Guide: http://wp.netscape.com/eng/mozilla/3.0/handbook/javascript/

This is document adtz in domain all.
Last modified on November 01, 2008.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.