|

CodingForums
Having trouble with scripting? Visit our help forum to get
the answers you need.
Jump to...
-Free
JavaScripts
-JS
tutorials
-JS Reference
-DHTML/CSS
-Free applets
-Web
Tutorials
-Link to Us!
|
 |
http://www.geocities.com/javascript_contact/primer1.html
FAQs about
this language.
Go
to the original version of this page
http://www.javascriptkit.com/javatutors/primer2.shtml
What is JavaScript?
So what exactly is JavaScript? Well, it's is a scripting language
developed by Netscape to add interactivity and power to web documents.
Examples of JavaScript include live clocks, rollover effects,
scrollers, form validations, and so on. JavaScript differs from most
other programming languages in that it is relatively easy to master,
even for people who have absolutely no programming experiences
whatsoever.
Why learn JavaScript?
The first few words that come to mind are: "Freedom baby, freedom!"
With html, you are restricted to creating static, non interactive
webpages. This, in today's internet standards, is unacceptable. With
JavaScript, you can change that. Imagine being able to break free and
allow your creativity to dictate what you put on your webpage, instead
of the other way round. And
the best part is, JavaScript can be learned
by anyone-yes, I said anyone!
What's the difference between Java and JavaScript?
Java is completely different from JavaScript-It's a lot more powerful,
more complex, and unfortunately, a lot harder to master. It belongs in
the same league as C, C++, and other more 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, not necessarily. JavaScript was created
by Netscape, so it is most compatible with Netscape. Internet Explorer
4.x supports 99% of what JavaScript has to offer, although IE 3.x is
not quite as adorable. A good rule to follow is to always test your
codes using both browsers before uploading it onto the internet. You
will be surprised how many websites fail to do this, annoying surfers
and not even realizing that their scripts are going haywire behind
their backs! (this
might pertain to me too)
-Tutorial
introduction
-FAQs about this language.
-Getting
Started: Setting Up your code.
-Introducing
objects-what
JavaScript's made of
-Using the
document object
to explain objects.
-Functions
and creating your own functions
Getting
Started: Setting up your code 
|