Cargando…

JavaScript and DHTML cookbook /

On numerous online forums for JavaScript and DHTML, the majority of questions begin with "How do I ...?" This new Cookbook provides the answers. After reading thousands of forum threads over the years, author and scripting pioneer Danny Goodman has compiled a list of problems that frequent...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Goodman, Danny
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Sebastopol, CA ; Farnham : O'Reilly, 2003.
Edición:1st ed.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Table of Contents; Preface; About You; About the Recipes; What's in This Book; Browser Platforms; Conventions Used in This Book; Request for Comments; Acknowledgments; Strings; 1.0 Introduction; Creating a String; Regular Expressions; 1.1 Concatenating (Joining) Strings; Problem; Solution; Discussion; See Also; 1.2 Accessing Substrings; Problem; Solution; Discussion; See Also; 1.3 Changing String Case; Problem; Solution; Discussion; See Also; 1.4 Testing Equality of Two Strings; Problem; Solution; Discussion; See Also; 1.5 Testing String Containment Without Regular Expressions; Problem
  • SolutionDiscussion; See Also; 1.6 Testing String Containment with RegularExpressions; Problem; Solution; Discussion; See Also; 1.7 Searching and Replacing Substrings; Problem; Solution; Discussion; See Also; 1.8 Using Special and Escaped Characters; Problem; Solution; Discussion; See Also; 1.9 Reading and Writing Strings for Cookies; Problem; Solution; Discussion; See Also; 1.10 Converting Between Unicode Values and String Characters; Problem; Solution; Discussion; See Also; 1.11 Encoding and Decoding URL Strings; Problem; Solution; Discussion; See Also
  • 1.12 Encoding and Decoding Base64 StringsProblem; Solution; Discussion; See Also; Numbers and Dates; 2.0 Introduction; JavaScript Numbers; The Math Object; Dates and Times; 2.1 Converting Between Numbers and Strings; Problem; Solution; Discussion; See Also; 2.2 Testing a Number's Validity; Problem; Solution; Discussion; See Also; 2.3 Testing Numeric Equality; Problem; Solution; Discussion; See Also; 2.4 Rounding Floating-Point Numbers; Problem; Solution; Discussion; See Also; 2.5 Formatting Numbers for Text Display; Problem; Solution; Discussion; See Also
  • 2.6 Converting Between Decimal and Hexadecimal NumbersProblem; Solution; Discussion; See Also; 2.7 Generating Pseudorandom Numbers; Problem; Solution; Discussion; See Also; 2.8 Calculating Trigonometric Functions; Problem; Solution; Discussion; See Also; 2.9 Creating a Date Object; Problem; Solution; Discussion; See Also; 2.10 Calculating a Previous or Future Date; Problem; Solution; Discussion; See Also; 2.11 Calculating the Number of Days Between Two Dates; Problem; Solution; Discussion; See Also; 2.12 Validating a Date; Problem; Solution; Discussion; See Also; Arrays and Objects
  • 3.0 IntroductionJavaScript Arrays; JavaScript Custom Objects; Choosing Between Arrays and Objects; Getting Data into the Page; 3.1 Creating a Simple Array; Problem; Solution; Discussion; See Also; 3.2 Creating a Multidimensional Array; Problem; Solution; Discussion; See Also; 3.3 Converting Between Arrays and Strings; Problem; Solution; Discussion; See Also; 3.4 Doing Something with the Items inanArray; Problem; Solution; Discussion; See Also; 3.5 Sorting a Simple Array; Problem; Solution; Discussion; See Also; 3.6 Combining Arrays; Problem; Solution; Discussion; See Also; 3.7 Dividing Arrays