Third password tutorial Rhode Island

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

Local Companies

Design Net Inc
(401) 334-4602
21 Powder Hill Rd
Lincoln, RI
Champion Technologies
(401) 823-9998
Coventry, RI
Process Technologies Inc
(401) 273-8324
920 Hartford Ave
Johnston, RI
Lapis Software Associates Llc
(401) 294-1185
1130 Ten Rod Rd
North Kingstown, RI
Riccitelli L J & Assoc
(401) 737-5055
111 Ambassador Ave
Warwick, RI
Roplab It Solution
(401) 369-7116
2 Devon St
Providence, RI
Dg Computer Consulting
(401) 766-5523
16 Bruce Dr
North Smithfield, RI
Certified Computer Consulting
(401) 615-5378
28 Sunset Ave
West Warwick, RI
Pro-Saap Llc
(401) 228-6016
65 Valley View Dr
Cranston, RI
Hr Technology Solutions Inc
(401) 272-5353
1 Richmond Sq
Providence, RI

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

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