What is JavaScript?
Javascript is an easy-to-use programming language that can be embedded in the header of your web pages. It can enhance the dynamics and interactive features of your page by allowing you to perform calculations, check forms, write interactive games, add special effects, customize graphics selections, create security passwords and more.
What's the difference between JavaScript and Java?
Actually, the 2 languages have almost nothing in common except for the name. Although Java is technically an interpreted programming language, it is coded in a similar fashion to C++, with separate header and class files, compiled together prior to execution. It is powerful enough to write major applications and insert them in a web page as a special object called an "applet." Java has been generating a lot of excitment because of its unique ability to run the same program on IBM, Mac, and Unix computers. Java is not considered an easy-to-use language for non-programmers.
Javascript is much simpler to use than Java. With Javascript, if I want check a form for errors, I just type an if-then statement at the top of my page. No compiling, no applets, just a simple sequence.
JavaScript Basics:
Part 1 - Introduction
What Do I Need?
Declaring JavaScript
Commenting JavaScript
Alerts in JavaScript
Variables in JavaScript
Calculations in JavaScript
Getting Information From The User using JavaScript
Output Variables in JavaScript
Remote JavaScript
Windows and HTML
Opening A Window With JavaScript
Manipulating The Window with JavaScript
Examples Of Manipulating Windows using JavaScript
Link Events in JavaScript
onClick Event in JavaScript
onMouseOver and onMouseOut Event in JavaScript
Rollover Images in JavaScript
Status Bar
If Condition in JavaScript
While Loops in JavaScript
For Loops in JavaScript
Changing The Value Of A Text Box
Events in JavaScript
JavaScript Functions
Parameters
Using The Submit Button
Checkboxes
Radio Buttons
Selects and Menus
Conclusion