In this javascript, you create an array whose numbers correspond to social Security numbers or some other password that is a string of numbers without breaks. When you put the number in the first field and then click the button, data corresponding to that number appears in the second field. Using this script students could check scores on-line.

Enter your Social security number  and then click button to get the grade of your first test. (Possible numbers are 123456789, 223456789, 323456789, 423456789, 523456789, 623456789, 723456789)

Your SSN.        Test 1

Hit Counter hits since Dec. 10, 1999. Copyright Dec. 1999 Jean Alvares

Click here to go to an example of this script that gives data in more than one field.

Back to my Guide to Javascripts page