how to increment a int variable by 1 in js code example
Example: how to increment variable value in javascript
var a = 1;
function increase(){
var textBox = document.getElementById("text");
textBox.value = a;
a++;
}