JavaScript & DHTML cookbook
In today's Web 2.0 world, JavaScript and Dynamic HTML are at the center of the hot new approach to designing highly interactive pages on the client side. With this environment in mind, the new edition of this book offers bite-sized solutions to very specific scripting problems that web develop...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Sebatopol, California ; Cambridge :
O'Reilly
2007.
|
Edición: | 2nd ed |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009626996506719 |
Tabla de Contenidos:
- Table of Contents; Preface; About You; About the Recipes; What's in This Book; Browser Platforms; Conventions Used in This Book; Using Code Examples; Request for Comments; Safari® Enabled; Acknowledgments; Strings; 1.0 Introduction; Creating a String; Regular Expressions; 1.1 Concatenating (Joining) Strings; Problem; Solution; Discussion; See Also; 1.2 Improving String Handling Performance; Problem; Solution; Discussion; 1.3 Accessing Substrings; Problem; Solution; Discussion; See Also; 1.4 Changing String Case; Problem; Solution; Discussion; See Also; 1.5 Testing Equality of Two Strings
- ProblemSolution; Discussion; See Also; 1.6 Testing String Containment Without Regular Expressions; Problem; Solution; Discussion; See Also; 1.7 Testing String Containment with Regular Expressions; Problem; Solution; Discussion; See Also; 1.8 Searching and Replacing Substrings; Problem; Solution; Discussion; See Also; 1.9 Using Special and Escaped Characters; Problem; Solution; Discussion; See Also; 1.10 Reading and Writing Strings for Cookies; Problem; Solution; Discussion; See Also; 1.11 Converting Between Unicode Values and String Characters; Problem; Solution; Discussion; See Also
- 1.12 Encoding and Decoding URL StringsProblem; Solution; Discussion; See Also; 1.13 Encoding and Decoding Base64 Strings; Problem; 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 DisplayProblem; Solution; Discussion; See Also; 2.6 Converting Between Decimal and Hexadecimal Numbers; Problem; 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 DateProblem; Solution; Discussion; See Also; Arrays and Objects; 3.0 Introduction; JavaScript 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 in an Array; Problem; Solution; Discussion; See Also; 3.5 Sorting a Simple Array; Problem; Solution; Discussion
- See Also