• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Working with Objects > What Is an Object?

What Is an Object?

Only the simplest JavaScript programs will do nothing but assign values to variables and calculate expressions. To go beyond these basic script beginnings—that is, to write truly useful scripts—you have to do what JavaScript was designed to do from the start: Manipulate the Web browser and the page that it's displaying. That's what JavaScript is all about, and that manipulation can come in many different forms:

  • Open a new browser window to display a different page.

  • Change the page that's displayed within a frame.

  • Send the browser to a new location.

  • Write text to the currently displayed document.

  • Validate a form's data before submitting it.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint