My Account Log in

1 option

JavaScript cookbook / Shelley Powers.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Powers, Shelley, author.
Language:
English
Subjects (All):
JavaScript (Computer program language).
DHTML (Document markup language).
Internet programming.
Genre:
Electronic books.
Physical Description:
1 online resource (554 p.)
Edition:
1st edition
Place of Publication:
Sebastopol : O'Reilly, [2010]
Language Note:
English
System Details:
text file
Summary:
Why reinvent the wheel every time you run into a problem with JavaScript? This cookbook is chock-full of code recipes that address common programming tasks, as well as techniques for building web apps that work in any browser. Just copy and paste the code samples into your project -- you'll get the job done faster and learn more about JavaScript in the process. You'll also learn how to take advantage of the latest features in ECMAScript 5 and HTML5, including the new cross-domain widget communication technique, HTML5's video and audio elements, and the drawing canvas. You'll find
Contents:
Table of Contents; Preface; Audience, Assumptions, and Approach; Target Browsers; Sample Code Conventions; Approach; Organization; Conventions Used in This Book; Using Code Examples; How to Contact Us; Safari® Books Online; Acknowledgments; Chapter 1. Working with JavaScript Strings; 1.0 Introduction; A String Primitive; A String Object; See Also; 1.1 Concatenating Two or More Strings; Problem; Solution; Discussion; 1.2 Concatenating a String and Another Data Type; Problem; Solution; Discussion; 1.3 Conditionally Comparing Strings; Problem; Solution; Discussion; See Also
1.4 Finding a Substring in a StringProblem; Solution; Discussion; See Also; 1.5 Extracting a Substring from a String; Problem; Solution; Discussion; See Also; 1.6 Checking for an Existing, Nonempty String; Problem; Solution; Discussion; 1.7 Breaking a Keyword String into Separate Keywords; Problem; Solution; Discussion; See Also; 1.8 Inserting Special Characters; Problem; Solution; Discussion; 1.9 Processing Individual Lines of a textarea; Problem; Solution; Discussion; See Also; 1.10 Trimming Whitespace from the Ends of a String; Problem; Solution; Discussion; See Also
1.11 Left- or Right-Pad a StringProblem; Solution; Discussion; See Also; Chapter 2. Using Regular Expressions; 2.0 Introduction; A RegExp Literal; RegExp As Object; See Also; 2.1 Testing Whether a Substring Exists; Problem; Solution; Discussion; 2.2 Testing for Case-Insensitive Substring Matches; Problem; Solution; Discussion; 2.3 Validating a Social Security Number; Problem; Solution; Discussion; See Also; 2.4 Finding and Highlighting All Instances of a Pattern; Problem; Solution; Discussion; See Also; 2.5 Replacing Patterns with New Strings; Problem; Solution; Discussion; See Also
2.6 Swap Words in a String Using Capturing ParenthesesProblem; Solution; Discussion; 2.7 Using Regular Expressions to Trim Whitespace; Problem; Solution; Discussion; 2.8 Replace HTML Tags with Named Entities; Problem; Solution; Discussion; 2.9 Searching for Special Characters; Problem; Solution; Discussion; Chapter 3. Dates, Time, and Timers; 3.0 Introduction; The Date Object; JavaScript Timers; 3.1 Printing Out Today's Date; Problem; Solution; Discussion; 3.2 Printing Out the UTC Date and Time; Problem; Solution; Discussion; See Also; 3.3 Printing Out an ISO 8601 Formatted Date
ProblemSolution; Discussion; See Also; 3.4 Converting an ISO 8601 Formatted Date to a Format Acceptable to the Date Object; Problem; Solution; Discussion; 3.5 Creating a Specific Date; Problem; Solution; Discussion; 3.6 Scheduling a Future Date; Problem; Solution; Discussion; 3.7 Tracking Elapsed Time; Problem; Solution; Discussion; 3.8 Creating a Timeout; Problem; Solution; Discussion; See Also; 3.9 Creating Recurring Timers; Problem; Solution; Discussion; 3.10 Using Function Closures with Timers; Problem; Solution; Discussion; See Also; Chapter 4. Working with Numbers and Math
4.0 Introduction
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed August 14, 2014).
ISBN:
9781449395926
1449395929
9781449396008
1449396003
OCLC:
780425260

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account