home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

Dynamic HTML: The Definitive Reference, 2rd Ed.Dynamic HTML: The Definitive ReferenceSearch this book

Chapter 12. JavaScript Core Language Reference

The previous chapters in the reference part of the book have covered every aspect of Dynamic HTML authoring that affects elements, objects, and styles—the pieces that are often visible on the page. The one part yet to be covered is the scripting glue that makes it possible to access and control the items detailed up to this point—the "D" of DHTML. This chapter covers the core scripting language features that apply to cross-browser application development. This means that VBScript, ActiveX controls, and Java classes accessible through LiveConnect are intentionally omitted here in favor of the core language that is widely deployed in every scriptable browser.

As described in Chapter 1, the JavaScript language was a Netscape invention. Microsoft's version of the language is called JScript. But a browser-neutral version of the language has been approved as a common denominator standard for all JavaScript-derived languages: ECMAScript. There is a great deal of agreement in the implementation of the core elements of this scripting language among browser makers and the ECMA standards group. The biggest challenge for writing core language code (i.e., code that is independent of the scriptable document object model) is knowing what version of the language is supported by which versions of the browser. In the entries for this chapter, you can see at a glance which browser version first supported every core language object, property, method, function, operator, and control statement.

Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.