0

How to get input from html text box

20th May 2019, 12:31 PM
Chuma Mqeke
Chuma Mqeke - avatar
2 Answers
+ 2
Hi! Using Java, you need to do a controller class as a Java Bean, binding It to a JSF page. So doing It you can get text input.
20th May 2019, 11:35 PM
Rafael S Valle
Rafael S Valle - avatar
0
You can make a text box like this: <input type = "text" id = "input"/> To get the input in it: x = document.getElementById("input").value; x now holds the value of the gext box
20th May 2019, 12:58 PM
Airree
Airree - avatar