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.
|
|
|
|