+ 4

How to use "id" validation is needed in login page or JS & CSS & HTML

I am learning "how to make login page?"

15th Dec 2018, 7:53 AM
KishanBGajera
KishanBGajera - avatar
1 Resposta
+ 2
I assume you're asking "How to validate that there's a value in the input fields if they have ids?". You can just use javascript. var userInput = document.getElementById("id"); Then you can use call .value on the element to retrieve the input value.
15th Dec 2018, 8:29 PM
Don
Don - avatar