this question may sound stupid, but no one has ever taught me this. I have an HTML input for a password field, and you can only log on with one specific password with JS. Could someone please give me a syntax on assigning a variable to document.getElementById(""); syntax or a different syntax? Thanks.
closed as not a real question by MainMa, Matthieu, GrandmasterB, gnat, Jim G. Sep 17 '12 at 20:40
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.
I guess you are trying to use password in your page. If the purpose of registration is to confirm that the person exists and has supplied a valid email address then at the first instance you should email them a random password rather than having them choose their own and use it immediately.
In addition you may get a wealth of information about