作者:empty 页数:1035 出版社:empty |
No part of this publication maybe reproduced, stored in a retrieval system or transmitted in any form or byany means, electronic, me charu cal photocopying, recording, scan rng or other wse, except as permitedunder Sections 107or10s of the 1976 United States Copy rgh tAct, without either the prior wrt tenpms son of the Pub she.or at horz a on though payment of heappoprtepecopyee to theCopynghtCearneeCen to, 222RowewaDrvc, DSR ON, MA01923197J 75-5400EX 7) 646-601Requests to the Publisher for permission should be addressed to the Permissions Department John Wiley&Sons, Inc, 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax(201) 748-6008,oronlineathttp://uw.wiley.com/go/pernissions.Limit of Liability/Disclaimer of Warranty:The publisher and the author make no representations orwarranties with respect to the accuracy or completeness of the contents of this work and specificallydielimallwarantisinludng without limi ation wa antes off tness for apart cu ar purpose Nowarranty maybe created or extended by sales or promotional materials.The advice and strategies containedherein may not be suitable for every situation.This work is sold with the understanding that the publisher isnot engaged in rendering legal, accounting, or other professional services.If professional asst stance isrequired, the services of a competent professional person should besought.Neither the publisher nor theauthor shall bel able for damages ar sung here from.The fact that an organ uz at lon or Website is refered to inthis work as a citation and/or a potential source of further information does not mean that the author or thepublisher endorses the information the organization or Website may provide or recommendations it maymake, Further, readers should be aware that Internet Websites listed in this work may have changed ordisappeared between when this work was written and when it is read.For general information on our other products and services please contact our CustomerCare Departmentw thin the Unted Stale sat(877) 762-2974, outs de the United Stes at(317) 572993orax(317) 572-4002Wiley also publishes its books in a variety of electronic formats.Some content that appears in print may notbe available in electronic books.Library of Congress Control Number : 2009930969Trademarks:Wiley, the Wiley logo, Wrox, the Wrox logo, Wrox Programmer to Programmer, and relatedtrade dress are trademarks or registered trademarks of John Wiley&Sons,Inc.and/oritsafflates, in theUnited States and other countries, and may not be used without written permission.JavaScript is aregs ered trad mark of Sun Mcr sysem, me.xi at her in dear ksar he propery of the rte peet veowners.Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book.
About the Author
Alexei White is a programmer designer, and speaker He is the inventor of Re bot Replay, a web sessiontracking technology acquired by Foresee Results, and an author of the bao kEnt eryri seA jar, as well as theDvD training series Enterpr as e Ajax Live Less ars.He has contr but ed to major Web prjects for Microsoftand Nintendo.Hisblogcanbefoundathttp://ambiguiti.ea.Whenhe'snatworkinginVancouverhe can be found floating on a lake somewhere in the interior of British Columbia with a fishing pole inhis hand.You may also find him on Twitter(alex saves) .CreditsAcquisitions EditorSeo tt MeyersDevelopment EditorEd ConnorTechnical EditorAlexei G or kovProduction EditorDaniel ScribnerCopyEditorChristopher JonesEditorial DirectorRobyn B.Sie skyEditorial ManagerMaryBeth Wake heldProduction ManagerTim TateVicePresident and Executive Group PublisherRichardS wadleyVicePresident and Executive PublisherBarry PruettAssociate PublisherJim Minal elProject Coordinator, CoverLynsey StanfordProofreaderPublication Services, In e.IndexerRon Strauss
Acknowledgments
A book like this is never written in a vacuum, and there are many people who played an important rolein getting it done, and contributing to the overall quality.I want to thank some people in thedevelopment community for their aver all contributions to Java Seri pt over the years, and helping toadvance the understanding and skills of a large community of devel apers.This group certainly includesDouglas Crockford, John Re sig.Dustin Diaz, Valerio Proietti, Alex Russel, Eric Lawrence(thankyou forFiddler) , Joe Hewitt(of Firebug fame-and who should have schools named after him or something) ,and of course many more.Thanks also got oN it obi, Foresee Results, Adobe, the Mozilla Foundation, Opera Software, Microsoft,and Apple either for making my life alot easier, or for their continuing contributions to the webdevelopment community f keep making great tools t)On a personal note, I want to thank my fiance Lara for never being anything but totaly supportivewhether I am working late, writing all weekend, ar generally not doing any of my chores as a resultI also want to thank my parents forgiving me everything lever needed to succ end.
Chapter1:IntroductiontoJavaScript.
Chapter2:JavaScriptintheBrowser.
Chapter3:JavaScriptBasics...
Chapter4:Expressions, Operators, and Statements.
Chapter5:Functions..
Chapter6:TheGlobalandObjectObjects
Chapter7:TheStringandRegExpObjects.
Chapter8:TheBoolean, Number, and Math Objects
Chapter9:TheArrayandDateObjects..
Chapter10:ObjectOrientedDevelopment,
Chapter11:WindowsandFrames.
Chapter12:Events..
Chapter13:TheDocumentObjectModel.
Chapter14:Forms..
Chapter15:CascadingStyleSheets
Chapter16:DynamicHTML.
Chapter17:JavaScriptSecurity.
Chapter18:Client-SideDataandPersistence.
Chapter19:Ajax..
Chapter20:WorkingwithXML
Chapter21:WorkingwithJSON..
Chapter22:UniqueBrowserFeatures
Chapter23:ScriptingPlugins.
Chapter24:Debugging..
Chapter25:PerformanceTuning.
Appendix A:Core JavaScript Language..
Appendix B:JavaScript Global Objects.
Appendix C:JavaScript Global Properties.
Appendix D:JavaScript Global Functions
Appendix E:Reserved and Special Words.
Appendix F:Document Object Reference.
Appendix G:Resources on the Web.
Index.