Steve Holzner Inside JavaScript

ISBN 13: 9780735712850

Inside JavaScript

2 avg rating
( 2 ratings by Goodreads )
9780735712850: Inside JavaScript
View all copies of this ISBN edition:

The only comprehensive book available that covers the latest technology, such as Internet Explorer 6 and JavaScript 1.5, and JScript 5.6. Packed full of hands-on examples, this book integrates JavaScript with .NET, XML, XSLT, Java, CSS, HTML, Cookies, Security, and much more. Written for beginning to intermediate readers looking to learn how to work with JavaScript and how best to use it with other web technologies. Inside JavaSriptfills a void between the very beginning and high level books available in bookstores today. It's a book readers want primarily for two reasons: re-usable code and up-to-date browser information. Books currently out on the shelf are not up to the latest in browser technology; thus, frustrating readers because everything done in JavaScript is dependent on browser capabilities. The web site will contain all the source code used in the book.

"synopsis" may belong to another edition of this title.

About the Author:

Steven Holzner has been writing about JavaScript for as long as it's been around. He's the author of 75 books on programming and is a former contributing editor to PC Magazine. A number of his books have been programming bestsellers, and he's had books translated into 16 languages around the world, selling more than 1.5 million copies total. He received his Ph.D. from Cornell University, and has been on the faculty of both Cornell and MIT. His hobbies include travel, chess, classical music, and writing books on philosophy.These reviewers contributed their considerable hands-on expertise to the entire development process for Inside JavaScript. As the book was being written, these dedicated professionals reviewed all the material for technical content, organization, and flow. Their feedback was critical to ensuring that Inside JavaScript fits our reader's need for the highest-quality technical information. Rory Macdonald currently lives in Glasgow, Scotland, and teleworks as a Senior Systems Engineer for one of Europe's largest domain registrars and Internet service providers. After a few years developing high-speed video conferencing and real-time operating systems, Rory took off around the world for a year. On his return, he became a web developer for university-level distance education projects before joining Cisco Systems, Inc., developing web-based intranet applications. Over the years, he has gained considerable experience in cross-platform dynamic web development. In his spare time, Rory loves to travel, snowboard, and ride motorbikes.Joel Lee is the Chief Operations Officer of JTL Networks, Inc. ( in Columbus, Ohio. JTL Networks is an internet service provider, offering remote support staff augmentation, dedicated connectivity, enterprise software design, and managed shared and dedicated hosting solutions. Bryan Gintz is the Senior Software Engineer for JTL Networks. He has worked with various aspects of JavaScript since 1996. He graduated from Wheaton College with a B.S. in Computer Science, and works with various Internet technologies specializing in some of the core scripting languages for Web Development, HTML, JavaScript, and PHP.

Excerpt. Reprinted by permission. All rights reserved.:



Welcome to Inside JavaScript. This book is designed to be ascomprehensive—and as accessible—as is possible for a single book onJavaScript. You'll find JavaScript just about everywhere you look on theInternet today, and even in many places behind the scenes. Thus, you'vecome to the right place; I believe this book provides the most complete coverageof what's going on in JavaScript as compared to any other JavaScript booktoday.

We're going to put JavaScript to work in depth, pushing the envelope asfar as it can go. The best way to learn any topic such as JavaScript is byexample, and this is an example-oriented book. You'll find hundreds oftested examples here, ready to be used.

Writing JavaScript is not some ordinary and monotonous task: It inspiresartistry, devotion, passion, exaltation, and eccentricity—not to mentionexasperation and frustration. I'll try to be true to that spirit andcapture as much of the excitement and power of JavaScript in this book as Ican.

Who Should Read This Book

Anyone who wants to learn as much as there is to learn about JavaScriptshould read this book. We're going to start with the basics. I do assumethat you have some knowledge of HTML, but not necessarily very much. We'llsee how to create JavaScript scripts from scratch in this book, starting at thevery beginning.


Inside JavaScript is designed to give you as much of the wholeJavaScript story as one book can hold. We'll not only see the fullJavaScript syntax—from the most basic to the most advanced—but alsodig into many of the ways in which JavaScript is used.

Unlike other JavaScript books, I'm also going to list which browser andwhich browser version supports every feature we're going to use. Thatinformation will enable you to develop JavaScript applications across multiplebrowsers with relative ease.

Here's a sample of some of the topics in this book—note that eachof these topics themselves has many subtopics (too many to list here):

  • The full JavaScript syntax

  • Cross-browser issues: Which browser are you using?

  • Dynamic HTML

  • Handling errors

  • Redirecting browsers

  • Accessing HTML elements

  • Accessing the status bar

  • Creating dialog boxes

  • Using the clipboard

  • Alerts, confirmations, and prompts

  • Creating popups

  • Moving windows

  • Opening and closing new windows

  • Printing

  • Scrolling a window

  • Creating timed events

  • Setting colors

  • Creating cookies

  • Handling file dates and sizes

  • Tracking user navigation

  • Creating new elements and nodes

  • Finding elements by location

  • Navigating to a new URL

  • Using the go, forward, and backmethods

  • Finding and replacing text

  • Selecting text

  • Using forms

  • Submitting forms

  • Emailing forms

  • Clicking a button from code

  • Check boxes and radio buttons

  • Working with HTML text and select controls

  • Creating new options in a select control

  • The file upload element

  • Working with hyperlinks, lists, and tables

  • Using JavaScript URLs

  • Working with the mouse, keyboard, and images

  • Mouse rollovers

  • Precaching images and the image object

  • Image maps

  • Handling events

  • Changing web pages on-the-fly

  • Changing visual properties on-the-fly

  • Rewriting documents with the document.write method

  • Setting element visibility on-the-fly

  • Adding visual effects with filters

  • Using Internet Explorer visual transitions

  • Changing pages with dynamic styles

  • Drawing graphics with Vector Markup Language

  • Using Internet Explorer Direct Animation

  • Netscape Navigator layers

  • Internet Explorer filters

  • Internet Explorer visual transitions

  • Dragging and dropping visual elements

  • Dragging and dropping data

  • Dragging and dropping using layers

  • Data binding

  • Using the Tabular Data Control

  • Internet Explorer behaviors

  • Working with regular expressions

  • Cascading Style Sheets

  • Using absolute positioning

  • Using relative positioning

  • Changing style classes on-the-fly

  • Changing style sheets on-the-fly

  • Changing mouse cursors

  • Menus

  • XML and XSLT

  • Creating cookies and custom objects

  • Mouse trails

  • .NET and CGI programming

Here's something that's important to realize if you have an olderbrowser: Note that not all examples will work in all browsers. Over time,browser manufacturers introduce new features, and of course, we have to coverthose new features as well as the old—which means that not all examples aregoing to work in every browser version.

In fact, cross-browser issues are a serious consideration when programming inJavaScript, as we'll see throughout the book. As much as possible, I make it a point to indicate which examples will work in which browser; bear in mindthat if you're trying to use an example with a newer feature in an olderbrowser, however, it might not work. For that matter, many features that work inthe Internet Explorer do not work in the Netscape Navigator, and vice versa.

As you can tell, this is an issue that raises its head over and over inJavaScript. To enable you to handle version and browser differences, this booklists the versions and browsers that support the features that we're goingto see; so if an example doesn't work for you, that's the first thingto check. All the examples in the book were tested by three people—myselfand two dedicated technical editors (working on different machines)—to makesure they work as advertised.


I use one convention in this book that you should be aware of. When I add anew section of code, or want to emphasize something in code, I mark it like thisfor emphasis (this is from Chapter 4):

Our first script!

Here we go!

That's it. We're ready to go. If you have comments, I encourage youto write to me, in care of New Riders. This book is designed to be the newstandard in JavaScript, more complete and more accessible than ever before.Please do keep in touch with me with ways to improve it and to keep it at theforefront. If you think this book lacks anything, let me know—I'll addit, because I want to make sure this book stays on top. Thanks and happyprogramming!

© Copyright Pearson Education. All rights reserved.

"About this title" may belong to another edition of this title.

Buy New View Book
List Price: US$ 49.99
US$ 104.75

Convert Currency

Shipping: US$ 4.99
Within U.S.A.

Destination, Rates & Speeds

Add to Basket

Top Search Results from the AbeBooks Marketplace


Steve Holzner
Published by New Riders Publishing (2002)
ISBN 10: 0735712859 ISBN 13: 9780735712850
New Paperback First Edition Quantity Available: 1

Book Description New Riders Publishing, 2002. Paperback. Condition: New. 1st. Seller Inventory # DADAX0735712859

More information about this seller | Contact this seller

Buy New
US$ 104.75
Convert Currency

Add to Basket

Shipping: US$ 4.99
Within U.S.A.
Destination, Rates & Speeds