JavaScript’s a great language. I love it. It may not have the speed or power of Java or C, or the tight integration of ActiveX, but on the plus side it’s interpreted (no messing about with compilers), fast to load, easy to debug and it embeds itself neatly into your web page.
Most important of all, it’s easy to learn. Hopefully if you’re fairly new to the language, these tips will help get you started. Even seasoned JavaScript coders may learn a thing or two from these tips – you never know!
This tutorial shows you how to get started with JavaScript. We’ll look at how to embed JavaScript in your web page, and how JavaScript talks to your web browser. I’ll illustrate these points by building a simple program to display an alert box when the page is first loaded.