I've got a programming problem that I believe only a javascript can solve. I remember that you have some experience and javascript; I was hoping you might be able to help out. Here’s the problem:
I’m using two cgi scripts. The form begins with the user having to input his e-mail. After the e-mail is inputted in the form, the first script is called. This script performs a database query and then returns the username, password, and e-mail of the user and then calls the second cgi script. This final script sends the user via e-mail his username and password.
The Problem:
I need to be able to submit a form to the first cgi script without having to use the INPUT TYPE=”submit”. I need to be able to do this because I don’t want the user to be able to see the username and password in the source code.
I’ve read on the Internet that it is possible, but I am unable to find out how it is possible. Any thoughts?
I’m using two cgi scripts. The form begins with the user having to input his e-mail. After the e-mail is inputted in the form, the first script is called. This script performs a database query and then returns the username, password, and e-mail of the user and then calls the second cgi script. This final script sends the user via e-mail his username and password.
The Problem:
I need to be able to submit a form to the first cgi script without having to use the INPUT TYPE=”submit”. I need to be able to do this because I don’t want the user to be able to see the username and password in the source code.
I’ve read on the Internet that it is possible, but I am unable to find out how it is possible. Any thoughts?