O'Reilly logo

Essential JavaScript™ for Web Professionals, Second Edition by Dan Barrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required