Third password tutorial New Hampshire

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

Local Companies

Small Business Computers of NE Inc
(603) 695-9090
25 Lowell St
Manchester, NH
Serasoft
(603) 485-3700
35 Post Rd
Hooksett, NH
Sai Peoples Solution Inc
(603) 626-7280
1155 Elm St
Manchester, NH
Complete Computing Solutions of New England
(603) 880-0482
31 Syracuse Rd
Nashua, NH
Robert Half Technology
(603) 433-6600
1155 Elm St
Manchester, NH
QED Connect
(603)881-3884
2 Townsend West Unit 1
Nashua, NH
Mid Range Education
(603) 471-1877
10 Chestnut Dr Unit K
Bedford, NH
Anderson Systems Mgmt Assocs Inc
(603) 894-6799
63 Range Rd
Windham, NH
Infospan Technologies Inc
(603) 821-7490
20 Trafalgar Sq Ste 462
Nashua, NH
Promobubble
(603) 594-9200
1 Indian Head Plz
Nashua, NH

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

QED Connect

(603)881-3884
2 Townsend West Unit 1
Nashua, NH
http://www.qedconnect.com

QED Connect, Inc. is an information security Software-as-a-Service (SaaS) provider that gives organizations visibility, management and control of activity on all their computers, laptops and wireless devices. The company’s popular SaaS, Omni Manager, is an affordable way to monitor and manage how employees are using company computers and the Internet at any time, from any location in the world. This solves the problems created by today’s ‘virtual’ work environment of branch offices, remote workers and traveling employees. Omni Manager is a web-hosted software application that includes e-mail and Internet filtering and blocking, antivirus, instant messaging management, asset tracking, application usage monitoring and policy management. ROI is delivered by employee productivity gains, cost savings and improved operational efficiencies.


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