In this chapter, we will focus on three specific applications of
JavaScript: validating user input in forms; generating semiautonomous
clients; and bookmarklets. As we will soon see, all three of these
examples use JavaScript on the client side but still rely on CGI
scripts on the server side.
This chapter is not intended to be an introduction to JavaScript.
Since many web developers learn HTML and JavaScript before turning to
Perl and CGI, we will assume you've had some exposure to
JavaScript already. If you haven't, or if you are interested in
learning more, you may wish to refer to JavaScript: The
Definitive Guide by David Flanagan (O'Reilly &
Associates, Inc.).