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

Chapter 18. Introduction to JavaScripting > Introduction to JavaScript

Introduction to JavaScript

JavaScript enables you to embed commands in an XHTML page. When a compatible Web browser, primarily Netscape Navigator 2 or higher or Internet Explorer 3 or higher (the Opera browser also includes JavaScript support with its version 3 and higher), downloads the page, your JavaScript commands are loaded by the Web browser as a part of the XHTML document. These commands can be triggered when the user clicks page items, manipulates gadgets and fields in an XHTML form, moves through the page history list, or through a variety of other Web browser events.

Note

Microsoft's Internet Explorer Web browser supports JScript, Microsoft's own implementation of Netscape's JavaScript language. Both Microsoft and Netscape claim full compatibility with ECMAScript, the Web browser scripting standard. Each has its own enhancements and its own quirks, however, so some differences exist. When programming in JavaScript, it is always a good idea to test your scripts by using both browsers—in fact, test them with multiple versions of both browsers on multiple platforms, if possible.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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