+ 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?
2 Answers
+ 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
0
Thats tough actually I am a beginner and have info about HTML yet