O'Reilly logo

Absolute Beginner's Guide to Programming, Third Edition by Greg Perry

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Reviewing JavaScript's Objects

Every element on your Web page is an object to JavaScript. By naming each element, you can manipulate those elements through JavaScript code. You might be surprised at the plethora of objects JavaScript recognizes. JavaScript even recognizes your browser's history list as an object. Table 21.1 lists a few of the Web page–based objects that JavaScript can view.

Table 21.1. JavaScript recognizes many kinds of objects.
window document form
applet anchor area
button checkbox fileUpload
image password radio
reset select submit
text textarea ids
link plugin tags
frame history location
menubar scrollbar statusbar

As with the Visual Basic controls, the JavaScript objects all support characteristics that your JavaScript ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required