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
Post a Comment