Notes:
This program creates an array to put the specified number of passwords in and then loops through the number
of characters to put in the password based on the character criteria specified by the user. The results
are put into the text area, with a javascript carriage return to allow the user to copy and paste the passwords
into a program like excel.
The only validation the form does is to make sure that the user puts a number greater than 0 into the
characters field, although no alerts are called. Anything other than a number greater than zero will not
pass through the javascript.
The code is commented fairly well, so feel free to check it out. |