What is JavaScript?
JavaScript is the scripting language of the Internet. JavaScript was developed by
Netscape. It is considered to be the most popular scripting language on the Net.
JavaScript is used in millions of Web pages to validate forms, to enhance the design,
and much more.
Why
learn JavaScript?
There are many reasons why one would want to learn JavaScript. The biggest reason
Is its capability. With html, you are restricted to creating static, non interactive
WebPages. This, in today's Internet standards, is unacceptable. JavaScript allows you to
change that. With JavaScript everything is up to you. You have full 100% control.
What's the difference between
Java and JavaScript?
Java and JavaScript have nothing in common. Java is NOT short for JavaScript!
These are two completely different languages. Java is a lot more powerful, more
complex. Java belongs in the same category of languages as C, C++, and other very
complex languages. Also, you need to compile a Java program before you can run it,
whereas with JavaScript, no compilation is needed-simply open up a text editor,
type it, save it, and your browser is ready to run it!
Can my JavaScript programs
run on both Netscape and Internet Explorer browsers?
Unfortunately No. Even though JavaScript was created by Netscape (Sun),
Netscape is far behind as far as supporting JavaScript functionality in its Browsers.
Generally Internet Explorer is much more supportive of JavaScript than Netscape. Also
from the developers stand point, it is much easier to develop JavaScript's for IE than
Netscape. The only advantage Netscape has over IE in this issue is that It is 100% better
and easier to debug JavaScript in Netscape than IE.
|