Diving into JavaScript

Diving into JavaScriptShort Description
Now you can see that our technique for hiding JavaScript from really old. browsers takes advantage of both HTML and JavaScript comments. The …

Website: www.oreilly.com | Filesize: 634kb

Content
1
Chapter 1Diving into JavaScript
Chapter 1
Diving into JavaScript
If you’ve read other JavaScript books, you may have had to slog through
pages and pages about functions, methods, operands, and so on, before
ever learning how to write even the simplest script. As you get into
JavaScript, you’ll need to understand those concepts and more, but you
can start spiffing up your web pages just by diving into JavaScript.
That’s what this chapter is about. By the time you’ve finished, you’ll know
two handy scripts, one to add descriptive comments to the status bar,
and the other to use the time to serve custom pages. More importantly,
you’ll understand why the scripts do what they do, and you’ll be ready to
wade a little more deeply into JavaScript.
The concepts we’ll cover in this chapter include:
?Event handlers
?Variables
?Working with objects
?Writing to a document
?The if statement
Adding descriptive links
Do you ever wish links could talk? In other words, wouldn’t it be helpful
to be able to tell users what to expect if they click on a link? You can do
this easily with JavaScript.
Figure 1-1 shows the O’Reilly…

Get the file Download here

AddThis Social Bookmark Button
Related Books:
  • Introduction to JavaScript
  • SUGI 26 JavaScript Tutorial by Example
  • Javascript Performance
  • Using JavaScript
  • JavaScript Programming A detailed look at some Javascript …
  • JavaScript Programmers Tutorial
  • JavaScript Tutorial for Programmers
  • Andy’s JavaScript Tutorial

  • Related Searches: , , , ,



    Comments

    Leave a Reply