I am using document.getElementById("password").value to recieve the password type input field.
please help out!
the form also has an action="authenticate_signup.php"
it shows as if the password field value is not retrieved.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check if your element id is defined properly.
It should work as expected, there is no security restriction.
You can even switch between input types like:
document.getElementById(“password”).type = ‘textbox’;