Project III: Using JavaScript on a Log-in Page

The company is about to add a new Partners section to the site. Part of this new section will not be accessible by the general public; only existing partners will be allowed entry. One of the Perl programmers has created a log-in page (see Figure 3-4), written the script, and is going to maintain the database with the usernames and passwords. So what is there for you to do, you ask?

Figure 3-4. Partners log-in page.

Well, the powers that be saw a log-in page where once you entered your password, all you had to do was press Enter or hit the Tab key and the log-in script was called. The log-in page ...

Get Essential JavaScript™ for Web Professionals, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.