+ 2

How can I get user info like name or pas. From my web page

Like i want user to send me some info. Is what code can I use?

25th Jun 2020, 3:07 AM
Tech Power
Tech Power - avatar
2 Antworten
+ 1
Use input tag and give a ID to it. And by using javascript document.getElementById("id").value you can acces the value of particular input with the given ID <input type="number" id="ak"/> now javascrip code var x = document.getElementsBy("ak").value; now x have the value of input having I'd ak
25th Jun 2020, 3:18 AM
Ayush Kumar
Ayush Kumar - avatar
0
Thats tough actually I am a beginner and have info about HTML yet
25th Jun 2020, 3:37 AM
Tech Power
Tech Power - avatar