Murach's JavaScript and DOM Scripting
How to use regular expressions, handle exceptions, and validate
data
This chapter shows you how to use regular expressions and
handle any exceptions that might be thrown by an application.
Then, it presents a Register application that uses regular
expressions and exception handling to do a thorough job of
form validation...the kind of real-world example you need
to be able to write bulletproof applications of your own.
|
|
|
|
How to create and use regular
expressions |
386 |
|
How to create regular expression
patterns |
388 |
|
How to use the global and multiline
flags |
392 |
|
String methods that use regular
expressions |
394 |
|
Regular expressions for data validation |
396 |
|
|
How to create and throw Error
objects |
398 |
|
How to use the try-catch statement
to handle exceptions |
400 |
|
|
The user interface, XHTML, and
CSS |
402 |
|
The JavaScript code for the register_library.js
file |
406 |
|
The JavaScript code for the register.js
file |
414 |
|
|
|
|
|
|
© Copyright 1998-
Mike Murach & Associates, Inc. All rights reserved.
|