JavaScript Developers Dictionary ppt

1.2K 569 1
JavaScript Developers Dictionary ppt

Đ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

[...]... 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 JScript version... for the novice JavaScripter This book assumes you have some familiarity with the JavaScript language, and is not intended to teach you JavaScript The examples are just 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... 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 Core JavaScript C HAPTER... Indianapolis, IN 46240 USA Introduction JavaScript The term itself implies a scripting language, a “patchwork” for whatever Web page you have in mind But, like many scripting languages, it’s not necessarily a simple one What Is JavaScript? The word JavaScript is really a name for a language with several different flavors Microsoft Internet Explorer (IE) implements JavaScript under the name “JScript,”... server-side He moderates the JavaScript Programming Help forum and writes tutorials for Website Abstraction at http://www.wsabstract.com He also contributes Quality Assurance 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... 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 23 months in the United States Navy as a Seaman Journalist Following his tour of duty, he returned to the field of computers he grew up around and discovered JavaScript. .. Internet Explorer 5.0, Internet Explorer 5.5, and Netscape 6, to JScript version 5.5 and JavaScript 1.5 This book covers every object available to the developer in typical client-side use It covers Core JavaScript object constructors, such as Object(), RegExp(), and Function(), in Part I In Part II, we enter an area of JavaScript for which there are no standards per se, but which the two browser companies... intimidating warning for Web site visitors, who often deny permission for what the scripts request These areas are insignificant for most JavaScripters, and thus this book offers no emphasis on the limited features these subsets of JavaScript provide One feature of JavaScript I want to emphasize quite heavily at this point is the inheritance of properties and methods of some objects in other objects... documents quite differently than Netscape 6 (Nav6), its successor There have been six revisions of JavaScript alone for Netscape, which invented the language Within the next few years, JavaScript 2.0 will enter the World Wide Web With all these variants on the same theme, Netscape and Microsoft leave a lot of developers scrambling to write code that works in all the major browsers Furthermore, documentation... 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 book is for me as well as for you You’d be surprised how much you learn about a language by . 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 . Operators 250 00 0672322013 FM 5/3/02 1:31 PM Page vii viii JAVASCRIPT DEVELOPER’S DICTIONARY 13 JavaScript Syntax 255 Parentheses, Square Brackets, and Curly

Ngày đăng: 14/03/2014, 23:20

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