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.

I need help with a computing problem

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.



Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

I have a comment for the Knowledge Base

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.