What JavaScript can and cannot do.
JavaScript can add items such as:
Javascript cannot be used to create applets or stand alone applications.
Back to top
JavaScript vs. Java: What's the difference?
Java is a full fleged object oriented programming language which allows you to create stand alone applications. Java is also used to create a special type of mini application called an applet. JavaScript is an interpreted languange, meaning it doesn't end up as an executable file.
Back to top
The advantages and disadvantages of using JavaScript.
Using JavaScript enhances a Web page by adding interactivity. Users can provide instant feedback without complicated CGI scripts and languages. JavaScript is supported by recent browsers from Netscape and Microsoft. Because Internet Explorer supposts additional features, Microsoft calls its version Jscript. Many old browsers are unable to handle newer JavaScript codes.
Back to top
The structure and use of variables, including naming conventions and variable types.
Rules for naming variables
Back to top
The difference between variables and literals.
A variable represents a value stored in memory for use by the script. A literal is an actual number or character text, rather than a calculated result or value input from a keyboard.
Back to top
How to set up expressions, including the rules for the order of precedence.
An expression operates by taking the values to the right hand side of the equal sign, performing the arithmic operation, and then storing the result in the variable on the left hand side of the equal sign.
Mathematical order of Precedence
Back to top
To validate data entered into a form you compare or test the data entered to a desired value. This test is called a conditional, and the result of the test is either True or False. Based on the result of the test you can execute different JavaScript codes.
Back to top
A funtion is a way to write several lines of script and use them repeatedly as nested. Functions are defined by starting with the keyword function followed by a set of parentheses.
Back to top
Objects, properties, and methods
Back to top
Most interactive Web applications are event-driven
Back to top
A frame is a feature that allows a browser window to be split into smaller units. These units are not windows.
Back to top
An array is a collection of data intems that is identified by a singular name. The singular name is used in place of many different variables that would have to be used if JavaScript did not have the capability of using arrays.
Back to top