javascript - Text ID = Password... will not work? -


the password input isn't working... check it:

    <div class="form">   <h2>login form</h2><br />         <form method="post" id="login-form">             <input type="text" id="username" name="username" placeholder="username">             <input type="text" id="password" name="password" placeholder="password">             <input type="submit" value="login">         </form> 

i apologize being unclear.

thanks!

you missing type here. password field,input type should password

try

<input type="password" id="password" name="password" placeholder="password"> 

Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -