How to make login alert? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

How to make login alert?

i want that only when i write correct password only then it allow me to access the link website.

20th Jun 2017, 5:26 AM
learn android
learn android - avatar
2 ответов
+ 1
i dont know in which language u r trying this but the simple way(not the best) to do this, u can ask for a input with login and password and try to compare, like : <form action="adduser" method="post" onsubmit='passwordCheck();'> Email Address: <input type="email" name="email" required autocomplete="on" placeholder="fr@star.com"/><br/> Username: <input type="text" name="username" maxlength=25 required placeholder="JoyfulSophia"/><br/> Password: <input type="password" name="password" id='password' onkeydown='checkPassword()' maxlength=30 required placeholder="**********" /> Password (Again): <input type='password' id='pass_repeat'/> <br/> <br/> <input type="submit" value="Send" /> <input type="reset"> </form> //This is using html and javascript
20th Jun 2017, 6:12 AM
Juliano Ventola
Juliano Ventola - avatar
+ 1
thanks bro
20th Jun 2017, 6:14 AM
learn android
learn android - avatar