Online Test Banks
Score higher
See Online Test Banks
eLearning
Learning anything is easy
Browse Online Courses
Mobile Apps
Learning on the go
Explore Mobile Apps
Dummies Store
Shop for books and more
Start Shopping

JavaScript Object Terms

Part of the JavaScript For Dummies Cheat Sheet

JavaScript is an object-based language. To understand how to interact with the document object model you work with in JavaScript, you need to understand some basic object-related terms. The following table shows the ones you're likely to find most useful:

Term JavaScript example
An object is a thing (noun). A button is an object.
You can describe an object with adjectives (properties). A button object has a name and a type.
An object can do things (methods). A button object can click().
An object can respond to events (event handlers). A button can recognize when it's been clicked (onClick).
  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus

SERIES
JavaScript For Dummies Cheat Sheet

Advertisement

Inside Dummies.com

Dummies.com Sweepstakes

Win $500. Easy.