sams javascript, developer's dictionary (2002)

1.2K 640 0
sams javascript, developer's dictionary (2002)

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... http://validator.w3.org is the only one you should trust What Does this Book Cover? JavaScript Developer’s Dictionary is a reference to complete and enhance the documentation for the JavaScript language As the vast majority of Internet users use Nav4, IE4, and later generations of these two browsers, the Dictionary shall focus on JavaScript, starting primarily at this level: JavaScript 1.2 for Netscape browsers, and... that: examples Sometimes the examples demonstrate good coding practices, and sometimes they may be quite impractical Nonetheless, if you are just beginning to learn JavaScript, I recommend you read Sams Teach Yourself JavaScript in 24 Hours from Sams Publishing before you read this book Formatting of Script Examples Throughout the rest of this book, you will notice several conventions Netscape Navigator... author as well as your name and phone or e-mail address I will carefully review your comments and share them with the author and editors who worked on the book E-mail: webdev@samspublishing.com Mail: Mark Taber Associate Publisher Sams Publishing 800 East 96th Street Indianapolis, IN 46240 USA Introduction JavaScript The term itself implies a scripting language, a “patchwork” for whatever Web page you... away an opportunity for which I was very competent I replied to the newsgroup, offering my services, but it was too late Sams Publishing’s Acquisitions department, however, watches the newsgroups as well After numerous unspeakable delays, the result is the JavaScript Developer’s Dictionary (I’ve also discovered about 15 errata in the JavaScript 1.5 Core documentation I refused to do…) In a sense, this... efforts to the Mozilla.org project He is currently in the process of completing the design of his JavaScript Laboratory site at http://www.jslab.org, a project he set aside for the JavaScript Developer’s Dictionary He is a huge fan of the Seattle Mariners, and hopes to see them in a World Series one day soon Dedication To the Nathan Hale High School faculty members; particularly, Principal Eric Benson,... discoveries, and so on that I, you, or other readers may discover as copies of this book get around Visit http://www.jslab.org/ jsdd for the latest details on this book and its contents XHTML as HTML: The Dictionary Standard In the process of editing chapters, I made a decision to re-create each listing as XHTML 1.0 Transitional documents whenever possible When you examine and reproduce these listings,... at Netscape, for pointing me to those IDL files at lxr.mozilla.org Without his help in at least pointing me to them, this book would have died halfway through Then there are the numerous people on the Sams Publishing team: Shelley JohnstonMarkanday, Jon Steever, Patricia Barnes, the Technical Editors for this book, Martin Honnen and Jason Byers, and several other behind-the-scenes people I haven’t yet... Protocol 1096 Other XML Languages 1096 Conclusion to the JavaScript Developer’s Dictionary 1097 Index 1099 xxi About the Author Alexander James Vincent is a 24-year-old Web design expert based in Vallejo, CA Born and raised in Seattle, WA, he served... primary focus of this book is on JavaScript 1.2 and JScript version 3.0 and later, but earlier versions of JavaScript receive mention as well All this being said, welcome to the JavaScript Developer’s Dictionary Prepare for a few surprises, and a lot of fun “The first step to confirming there is a bug in someone else’s work is confirming there are no bugs in your own.” –Alexander J Vincent 5 PART I... String( ) 5 Boolean( ) 6 Date( ) 7 Number( ) 8 Math 9 RegExp( ) 10 Error( ) 11 The Global Object and Statements 12 Operators 13 JavaScript Syntax 14 Conditional Compilation in Internet Explorer DEVELOPER’S DICTIONARY C HAPTER 1 Object( ) . Indianapolis, Indiana 46240 DEVELOPER’S DICTIONARY JavaScript ALEXANDER J. VINCENT 00 0672322013 FM 5/3/02 1:31 PM Page i JavaScript Developer’s Dictionary Copyright  2002 by Sams Publishing All rights reserved this book that are known to be trademarks or service marks have been appropriately capitalized. Sams Publishing cannot attest to the accuracy of this information. Use of a term in this book should. HTMLDocument/document 515 24 Head Elements 561 00 0672322013 FM 5/3/02 1:31 PM Page iii iv JAVASCRIPT DEVELOPER’S DICTIONARY 25 Form Elements 579 26 Form Input Elements: HTMLInputElement 649 27 List Elements 667 28

Ngày đăng: 28/04/2014, 17:06

Từ khóa liên quan

Mục lục

  • 0672322013

    • Copyright © 2002 by Sams Publishing

    • Contents at a Glance

    • Table of Contents

    • About the Author

    • Tell Us What You Think!

    • Introduction

      • What Is JavaScript?

      • A Brief History of Time (or This Project, Anyway)

      • XHTML as HTML: The Dictionary Standard

      • What Does this Book Cover?

      • Formatting of Script Examples

      • PART I Core JavaScript

        • CHAPTER 1 Object()

          • Description

          • Creating a New Object

          • Properties

          • Methods

          • Example: Creating a Persistent Reference to this

          • CHAPTER 2 Function( )

            • Description

            • Executing a Function

            • Properties

            • Methods

            • Example: Using the Function() Objects’ Source Codes

Tài liệu cùng người dùng

Tài liệu liên quan