A simple javascript solution is to do this.
var number = document.getElementById("number").value;
This saves the value of the text box under the name 'number'. If you know javascript you can then use it to do pretty much anything. Hope this helps.
Please note that to do this, you need to use id="number"
, instead of name="number"
.
Complete code could be something like
<input type="number" id="number" onchange="save()">
this means that as soon as the user inputs a number, the save() function will be called in the javascript file.
javascript
function save() {
var number;
number = document.getElementById("number").value;
// Do whatever you want with the value here.
}