Tuesday, December 14, 2010

JavaScript for Breakfast


Let’s face the facts. JavaScript is an essential tool to have in your toolbox. Even if you create your HTML pages with an application that creates scripts for you, there will come a time when you need a script that can’t be automatically generated. There also might come a time when you want to modify one of those scripts. Most impotantly, companies look to hire developers with a diverse toolset. In today’s challenging job market, this can be essential to your success. This book is for anyone with an interest in developing their Javascript skills, the book uses very clear examples that enable you to master the programming language. It’s also a useful reference for developers.

Table of Contents
INTRODUCTION................................................................................................................................................ 3
ABOUT TOM DELL’ARINGA.............................................................................................................................. 3
PROLOGUE: BECOMING A MASTER DEVELOPER............................................................................................. 4
BASIC INGREDIENTS – JAVASCRIPT FOR BEGINNERS ..................................................................................... 7
JAVASCRIPT ZERO TO HERO......................................................................................................................................7
HOW TO DEBUG JAVASCRIPT .................................................................................................................................17
TWO DIMENSIONAL ARRAYS AND OTHER GOODIES....................................................................................................25
OBJECTS......................................................................................................................................................... 34
BUILDING A JAVASCRIPTOBJECT .............................................................................................................................34
SCRIPTING THE SELECT OBJECT................................................................................................................................41
SCRIPTING THE SELECT:MOVING THINGS AROUND ....................................................................................................49
SCRIPTING THE SELECT;GOING FURTHER....................................................................................................................58
SCRIPTING THE SELECT: FINISHING UP ........................................................................................................................68
THE DATE OBJECT..................................................................................................................................................78
FORMS............................................................................................................................................................ 86
SCRIPTING FORMS..................................................................................................................................................86
JAVASCRIPTING USABLE FORMS...............................................................................................................................93
JAVASCRIPT DISABLING AND ENABLING FORM FIELDS DYNAMICALLY.......................................................................101
ADVANCED FORMS..................................................................................................................................... 108
MULTI PAGE FORMS ON ONE PAGE .......................................................................................................................108
VALIDATING FORMS: A JAVASCRIPT VALIDATION CLASS .........................................................................................120
EMAIL ADDRESS AND PASSWORD VALIDATION..........................................................................................................129
FORMATTING USER FORM DATA............................................................................................................................138
SCRIPTING RADIO BUTTONS WITHOUT TEARS. ............................................................................................................148
SCRIPTING CHECKBOXES ......................................................................................................................................157
TAKING IT FURTHER WITH DHTML.................................................................................................................. 170
MODIFYING PAGE ELEMENTS ON THE FLY .................................................................................................................170
WORKING WITH THE EVENT LISTENER.......................................................................................................................177
SPICING UP DATA TABLES WITH HIGHLIGHTING ROWS ...............................................................................................184
REAL-WORLD JAVASCRIPT ........................................................................................................................... 193
COOKIE HANDLING.............................................................................................................................................193
THE JAVASCRIPT DATE PICKER ...............................................................................................................................201
THE JAVASCRIPT NEWS TICKER..............................................................................................................................216
DMXZONE.................................................................................................................................................... 225

Download
Another Internet Books
Another Web Programming Books

No comments:

Post a Comment

Related Posts with Thumbnails

Put Your Ads Here!