mcgraw-hill osborne javascript, a beginner's guide 3rd ed

512 1.1K 0
mcgraw-hill osborne javascript, a beginner's guide 3rd ed

Đ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

[...]... JavaScript D Windows XP 11 12 JavaScript: A Beginner’s Guide 4 JavaScript and Java are the same language A True B False 5 JavaScript is more than Java in a number of areas, such as syntax A complex B powerful C compiled D lenient 6 JavaScript has similarities to other programming and scripting languages A True B False 7 Before its release as JavaScript, JavaScript was called A Java B JavaCup... release as JavaScript, it was called LiveScript.) JavaScript is an object-based, client-side scripting language that you can use to make Web pages more dynamic To make sense of such a definition, let’s look at its important parts one by one Object Based Object based means that JavaScript can use items called objects However, the objects are not class based (meaning no distinction is made between a class... programming language that must be compiled (running a program through software that converts the higher-level code to machine language) before a program (often called a Java applet) can be executed Java is more powerful but also more complex JavaScript doesn’t need a compiler and is more lenient in a number of areas, such as syntax 7 8 JavaScript: A Beginner’s Guide Similarities to Other Languages JavaScript... called Ada), I was able to catch on to JavaScript fairly quickly by looking at these tutorials and scripts I learned enough that I decided to create a Web site that would teach HTML and JavaScript to beginners As soon as I began the project, I received questions from visitors that were way over my head—forcing me to dig deeper and learn more about JavaScript As a result, I became completely familiar... John and Betty Hopkins (grandparents), James D and Livian Anderson (grandparents), Clifton and Juanita Idom (grandparents), Richard Pollock (brother) and family, Misty Castleman (sister) and family, Warren Anderson (brother) and family, Jon Andrews (brother) and family, Lisa and Julian Owens (aunt/uncle) and family, and every aunt, uncle, cousin, or other relation in my family All of you have been a great... Parotti, Ralph Pease, Paul Ruffin, and Jack Kerr In addition, I thank all of my other professors at the university for helping me gain knowledge in so many areas xix xx JavaScript: A Beginner’s Guide I want to thank my friends for putting up with me and for giving me encouragement when I have needed it Thanks to Don Sargent and family, Dwayne Lacy, Marty J Reeder and family, Garrett Cradduck and family, and... Dreamweaver and Softpress Freeway Q: A: What exactly do I need to know about using a text editor? Q: A: What do I need to know about using a browser? Basically, you only need to know how to type plain text into the editor, save the file with an html or htm extension, and be able to open it again and edit it if necessary Special features aren’t needed because HTML files are made up of plain text All you absolutely... mentioned that I could use a text editor or HTML editor of my choice, but I’m not quite sure what that means What is a text editor and where can I find one? A: A text editor is a program that you can use to save and edit written text Text editors range from simple to complex, and a number of choices are available: Notepad, WordPad, Simple Text, and Corel WordPerfect X4, to name a few You can also purchase... tasks like updating databases) For more information on JScript, see http://msdn.microsoft.com/ en-us/library/hbxc2t98.aspx ECMAScript is the international standard name and specification for the JavaScript language, so it’s not a new language but a standard that is set for JavaScript and JScript For more on ECMAScript, see www.ecma-international.org/publications/standards/Ecma-262.htm Ask the Expert... experience in any language, it will make learning JavaScript easier—but it isn’t required Beginning with JavaScript JavaScript came about as a joint effort between Netscape Communications Corporation and Sun Microsystems, Inc The news release of the new language came on December 4, 1995, back when Netscape Navigator 2.0 was still in its beta version JavaScript version 1.0 became available with the . the trademark. Where such designations appear in this book, they have been printed with initial caps. McGraw-Hill eBooks are available at special quantity discounts to use as premiums and sales. consultant based in Toronto, Canada. He designs and develops Web sites for small and medium-sized companies. JavaScript A Beginner’s Guide Third Edition John Pollock New York Chicago San Francisco. in corporate training programs. To contact a representative please e-mail us at bulksales @mcgraw-hill. com. Information has been obtained by McGraw-Hill from sources believed to be reliable. However,

Ngày đăng: 29/04/2014, 16:18

Từ khóa liên quan

Mục lục

  • Contents

  • Acknowledgments

  • Introduction

  • 1 Introduction to JavaScript

    • What You Need to Know

      • Basic HTML and CSS Knowledge

      • Basic Text Editor and Web Browser Knowledge

      • Which Version?

      • Remember, It’s Not Java

      • Similarities to Other Languages

      • Beginning with JavaScript

        • Object Based

        • Client Side

        • Scripting Language

        • Putting It All Together

        • Online Resources

        • Try This 1-1: Use JavaScript to Write Text

        • 2 Placing JavaScript in an HTML File

          • Using the HTML Script Tags

            • Identifying the Scripting Language

            • Calling External Scripts

            • Using <noscript></noscript> Tags

            • Creating Your First Script

              • Writing a “Hello World” Script

              • Creating an HTML Document for the Script

              • Inserting the Script into the HTML Document

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

Tài liệu liên quan