Third password tutorial Nebraska

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

Local Companies

Intergrated Distribution Solutions
(402) 397-8757
2110 S 169th Plz
Omaha, NE
Materials Systems Software Inc
402-327-8456
245 S 84th St
Lincoln, NE
Meta Software
(402) 932-1523
319 S 17th St
Omaha, NE
Linoma Software
1-800-949-4696
1409 Silver Street
Ashland, NE
Turnkey Solutions
402-332-5600
13908 S 226th Ave
Lincoln, NE
X Net Software Solutions
(402) 991-6880
15715 William Ct
Omaha, NE
Centrix Solutions Inc
402-488-3990
4910 Normal Blvd
Lincoln, NE
Mortech Software
402-441-4647
5960 S 57th St
Lincoln, NE
Tailored Software Services Inc
402-423-1490
2410 Bretigne DR
Lincoln, NE
Linoma Software
1-800-949-4696
1409 Silver Street
Ashland, NE

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

Featured Local Company

X Net Software Solutions

(402) 991-6880
15715 William Ct
Omaha, NE

Related Local Events
Heartland Developers Conference
Dates: 10/15/2009 - 10/15/2009
Location: Qwest Center Omaha
Omaha, NE
View Details

Heartland Developers Conference
Dates: 10/15/2009 - 10/15/2009
Location: Qwest Center Omaha
Omaha, NE
View Details

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