Third password tutorial

This is the third in a string of JavaScript password script tutorials.

provided by: 
Originally published at Internet.com


Hey there...

In this script we again use a format in which the password is the name of the page to be linked to, except in this one, the concept is further hidden because the user will not put in the name of the page. The user will put in a numeric password which will then be turned into the name of the page by the script.

It's done through an array. Let's take a look.

The Script's Effect

Use the password 145

-----------------------------------

Here's the Code

Of course when we have form elements in a script, we start with them so we can understand the hierarchy statements in the functions.

The form itself is given the name "userInput". Following the form flag are three input text boxes, each set to accept only two characters.

The text boxes are named "u1" "u2" and "u3" down the line.

A final button triggers a function called GoIn(). Now we can put together hierarchy statement to grab whatever the user puts into the boxes. Now the GoIn() function: function GoIn() { var Password = new Array("p","j","l","z","o","e","m","b","x","z") ...

Read article at Internet.com site
Regional Articles
- Third password tutorial Alabama
- Third password tutorial Alaska
- Third password tutorial Arizona
- Third password tutorial Arkansas
- Third password tutorial California
- Third password tutorial Colorado
- Third password tutorial Connecticut
- Third password tutorial DC
- Third password tutorial Delaware
- Third password tutorial Florida
- Third password tutorial Georgia
- Third password tutorial Hawaii
- Third password tutorial Idaho
- Third password tutorial Illinois
- Third password tutorial Indiana
- Third password tutorial Iowa
- Third password tutorial Kansas
- Third password tutorial Kentucky
- Third password tutorial Louisiana
- Third password tutorial Maine
- Third password tutorial Maryland
- Third password tutorial Massachusetts
- Third password tutorial Michigan
- Third password tutorial Minnesota
- Third password tutorial Mississippi
- Third password tutorial Missouri
- Third password tutorial Montana
- Third password tutorial Nebraska
- Third password tutorial Nevada
- Third password tutorial New Hampshire
- Third password tutorial New Jersey
- Third password tutorial New Mexico
- Third password tutorial New York
- Third password tutorial North Carolina
- Third password tutorial North Dakota
- Third password tutorial Ohio
- Third password tutorial Oklahoma
- Third password tutorial Oregon
- Third password tutorial Pennsylvania
- Third password tutorial Rhode Island
- Third password tutorial South Carolina
- Third password tutorial South Dakota
- Third password tutorial Tennessee
- Third password tutorial Texas
- Third password tutorial Utah
- Third password tutorial Vermont
- Third password tutorial Virginia
- Third password tutorial Washington
- Third password tutorial West Virginia
- Third password tutorial Wisconsin
- Third password tutorial Wyoming

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML