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

Chapter 41. Working with Script Code > Scripting Web Pages on the Browser

Scripting Web Pages on the Browser

All modern browsers have features for running program code that arrives nestled inside Web pages. Such code might customize the page based on the date, based on the type of browser, or on other factors. In addition, it can respond to events—like button clicks—that occur after the page is loaded. These features can significantly enhance your Web pages.

Scripts have access to a variety of built-in objects belonging to the browser: the current window, the current URL, and HTML objects such as form elements, hyperlinks, and pictures. Each of these objects has an assortment of properties, some of which the script can modify.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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