+ 1

getting the user's input

what code that can retrieve user's input such password type so that I can make the alert pop up when the password is right using JavaScript...

21st Sep 2016, 4:03 PM
Fluffy Rabbit
Fluffy Rabbit - avatar
2 ответов
+ 1
User data need to be under 7 keys, so, you have to use PHP to handle any user data. If you want to do a code just for training, you can use JavaScript to get the user input. var userInput = document.getElementById ("userinput").value;
21st Sep 2016, 9:21 PM
Scotti
Scotti - avatar
+ 1
@Scotti thx for the advice
22nd Sep 2016, 8:08 AM
Fluffy Rabbit
Fluffy Rabbit - avatar