Answers for "how to increment variable value in javascript"

2

how to increment variable value in javascript

var a = 1;
      function increase(){
            var textBox = document.getElementById("text");
            textBox.value = a;
            a++;
      }
Posted by: Guest on March-04-2021

Code answers related to "how to increment variable value in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language