(ebook) javascript - java script bible 4th edition - hungry minds.pdf

(8982 KB) Pobierz
Praise for Danny Goodman’s JavaScript Bible
JavaScript TM Bible is the definitive resource in JavaScript programming. I am never
more than three feet from my copy.”
— Steve Reich, CEO, PageCoders
“This book is a must-have for any web developer or programmer.”
— Thoma Lile, President, Kanis Technologies, Inc.
“Outstanding book. I would recommend this book to anyone interested in learning to
develop advanced Web sites. Mr. Goodman did an excellent job of organizing this
book and writing it so that even a beginning programmer can understand it.”
— Jason Hensley, Director of Internet Services, NetVoice, Inc.
“Goodman is always great at delivering clear and concise technical books!”
— Dwayne King, Chief Technology Officer, White Horse
JavaScript TM Bible is well worth the money spent!”
— Yen C.Y. Leong, IT Director, Moo Mooltimedia, a member of SmartTransact Group
“A must-have book for any internet developer.”
— Uri Fremder, Senior Consultant, TopTier Software
“I love this book! I use it all the time, and it always delivers. It’s the only JavaScript
book I use!”
— Jason Badger, Web Developer
“Whether you are a professional or a beginner, this is a great book to get.”
— Brant Mutch, Web Application Developer, Wells Fargo Card Services, Inc.
“I never thought I’d ever teach programming before reading your book [JavaScript TM
Bible] . It’s so simple to use — the Programming Fundamentals section brought it all
back! Thank you for such a wonderful book, and for breaking through my
programming block!”
— Susan Sann Mahon, Certified Lotus Instructor, TechNet Training
“I continue to get so much benefit from JavaScript TM Bible . What an amazing book!
Danny Goodman is the greatest!”
— Patrick Moss
“Danny Goodman is very good at leading the reader into the subject. JavaScript TM
Bible has everything we could possibly need.”
— Philip Gurdon
803305357.002.png
“An excellent book that builds solidly from whatever level the reader is at. A book
that is both witty and educational.”
— Dave Vane
“I continue to use the book on a daily basis and would be lost without it.”
— Mike Warner, Founder, Oak Place Productions
JavaScript TM Bible is by far the best JavaScript resource I’ve ever seen (and I’ve seen
quite a few).”
— Robert J. Mirro, Independent Consultant, RJM Consulting
“First, I want to thank you for writing THE definitive book on JavaScript. I spent many
hours in the computer aisles of bookstores, looking for a text to use for my class, and
yours is hands-down the best I’ve seen. It’s now a required text for the course.”
— Tom Travers, Instructor, University of New England
803305357.003.png
JavaScript Bible
4th Edition
Danny Goodman
With a foreword by Brendan Eich, JavaScript’s creator
Hungry Minds, Inc.
New York, NY
Cleveland, OH
Indianapolis, IN
803305357.004.png
JavaScript Bible, 4th Edition
Published by
Hungry Minds, Inc.
909 Third Avenue
New York, NY 10022
www.hungryminds.com
Copyright © 2001 Danny Goodman. All rights
reserved. No part of this book, including interior
design, cover design, and icons, may be reproduced
or transmitted in any form, by any means
(electronic, photocopying, recording, or otherwise)
without the prior written permission of the
publisher.
Library of Congress Control Number: 200101676
ISBN: 0-7645-3342-8
Printed in the United States of America
10 9 8 7 6 5 4 3 2 1
4B/SR/QT/QR/IN
Distributed in the United States by Hungry Minds, Inc.
Distributed by CDG Books Canada Inc. for Canada; by
Transworld Publishers Limited in the United
Kingdom; by IDG Norge Books for Norway; by IDG
Sweden Books for Sweden; by IDG Books Australia
Publishing Corporation Pty. Ltd. for Australia and New
Zealand; by TransQuest Publishers Pte Ltd. for
Singapore, Malaysia, Thailand, Indonesia, and Hong
Kong; by Gotop Information Inc. for Taiwan; by ICG
Muse, Inc. for Japan; by Intersoft for South Africa; by
Eyrolles for France; by International Thomson
Publishing for Germany, Austria, and Switzerland; by
Distribuidora Cuspide for Argentina; by LR
International for Brazil; by Galileo Libros for Chile; by
Ediciones ZETA S.C.R. Ltda. for Peru; by WS Computer
Publishing Corporation, Inc., for the Philippines;
by Contemporanea de Ediciones for Venezuela; by
Express Computer Distributors for the Caribbean
and West Indies; by Micronesia Media Distributor, Inc.
for Micronesia; by Chips Computadoras S.A. de C.V.
for Mexico; by Editorial Norma de Panama S.A. for
Panama; by American Bookshops for Finland.
For general information on Hungry Minds’ products
and services please contact our Customer Care
department within the U.S. at 800-762-2974, outside
the U.S. at 317-572-3993 or fax 317-572-4002.
For sales inquiries and reseller information,
including discounts, premium and bulk quantity
sales, and foreign-language translations, please
contact our Customer Care department at
800-434-3422, fax 317-572-4002 or write to Hungry
Minds, Inc., Attn: Customer Care Department, 10475
Crosspoint Boulevard, Indianapolis, IN 46256.
For information on licensing foreign or domestic
rights, please contact our Sub-Rights Customer Care
department at 650-653-7098.
For information on using Hungry Minds’ products
and services in the classroom or for ordering
examination copies, please contact our Educational
Sales department at 800-434-2086 or fax 317-572-4005.
For press review copies, author interviews, or other
publicity information, please contact our Public
Relations department at 650-653-7000 or fax
650-653-7500.
For authorization to photocopy items for corporate,
personal, or educational use, please contact
Copyright Clearance Center, 222 Rosewood Drive,
Danvers, MA 01923, or fax 978-750-4470.
LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY : THE PUBLISHER AND AUTHOR HAVE USED THEIR
BEST EFFORTS IN PREPARING THIS BOOK. THE PUBLISHER AND AUTHOR MAKE NO REPRESENTATIONS
OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS
BOOK AND SPECIFICALLY DISCLAIM ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS
FOR A PARTICULAR PURPOSE. THERE ARE NO WARRANTIES WHICH EXTEND BEYOND THE
DESCRIPTIONS CONTAINED IN THIS PARAGRAPH. NO WARRANTY MAY BE CREATED OR EXTENDED BY
SALES REPRESENTATIVES OR WRITTEN SALES MATERIALS. THE ACCURACY AND COMPLETENESS OF
THE INFORMATION PROVIDED HEREIN AND THE OPINIONS STATED HEREIN ARE NOT GUARANTEED
OR WARRANTED TO PRODUCE ANY PARTICULAR RESULTS, AND THE ADVICE AND STRATEGIES
CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY INDIVIDUAL. NEITHER THE PUBLISHER NOR
AUTHOR SHALL BE LIABLE FOR ANY LOSS OF PROFIT OR ANY OTHER COMMERCIAL DAMAGES,
INCLUDING BUT NOT LIMITED TO SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR OTHER DAMAGES.
Trademarks: JavaScript is a trademark or registered trademark of Sun Microsystems, Inc. All other
trademarks are the property of their respective owners. Hungry Minds, Inc., is not associated with any
product or vendor mentioned in this book.
is a trademark of
Hungry Minds, Inc.
803305357.005.png
About the Author
Danny Goodman is the author of numerous critically acclaimed and best-selling
books, including The Complete HyperCard Handbook , Danny Goodman’s AppleScript
Handbook , and Dynamic HTML: The Definitive Reference . He is a renowned authority
and expert teacher of computer scripting languages and is widely known for his
“JavaScript Apostle” articles at Netscape’s ViewSource online developer newsletter.
His writing style and pedagogy continue to earn praise from readers and teachers
around the world. To help keep his finger on the pulse of real-world programming
challenges, Goodman frequently lends his touch as consulting programmer and
designer to leading-edge World Wide Web and intranet sites from his home base in
the San Francisco area.
803305357.001.png
Zgłoś jeśli naruszono regulamin