Tutorial07 - Tutorial #7: JavaScript O P T I O N A L...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Tutorial #7: JavaScript O P T I O N A L Introduction: This tutorial is recommended if you have limited experience using JavaScript in web pages. JavaScript is not covered in the textbook, but numerous tutorials can be found on the Internet. JavaScript is a programming language that can be used inside HTML documents. The following figure shows the differences between a Java program, a regular HTML file, and an HTML file that contains JavaScript: Progam.java WebPage.html WebWithJavaScript.html Though it has many similarities to Java, it is a different language. Unlike Java which is a compiled language, JavaScript is an “interpreted” language, meaning the instructions are not checked in advance for errors using a compiler. To distinguish this, a group of JavaScript instructions may be referred to as a “script” instead of a program. It is still a “program” in the general sense, however. JavaScript is not as powerful as Java, but it can be more convenient to work with when a simple algorithm is needed for a web page. The following steps will be more convenient to work with when a simple algorithm is needed for a web page....
View Full Document

This test prep was uploaded on 04/10/2008 for the course ENGR 131 taught by Professor Xiaowei during the Spring '07 term at Case Western.

Page1 / 2

Tutorial07 - Tutorial #7: JavaScript O P T I O N A L...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online