0
How to get input from html text box
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.
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