Dell’Aringa T. - JavaScript for Breakfast. Crunching Scripts for Your Coffee Table + Code

Скачать

Dell’Aringa T. - JavaScript for Breakfast. Crunching Scripts for Your Coffee Table  + Code

JavaScript for breakfast. Crunching scripts for your coffee table

Год: 2005

Автор: Tom Dell’Aringa

Жанр: Учебное пособие

Издательство: DMXzone.com

Язык: Английский

Формат: PDF

Качество: Изначально компьютерное (eBook)

Количество страниц: 227

Описание: 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 importantly, companies look to hire developers with a diverse toolset. In today’s challenging job market, this can be essential to your success.

What this book does, and who it's for. 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.

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 javascript object .............................................................................................................................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

Доп.информация: В раздаче также имеются примеры, рассматриваемые в книге.-

Какой программой открыть книгу?

-Опубликовано группой

Скачать