How to set a value of input type after it was created
<p>I have a basic question which I cant find an answer to.</p>

<p>i have an input text
</p>

<p>I want to change the value by1 every time i click the button.
</p>

<p>so, when I make a new soldier, i want it to be shown in the soldiers count.</p>

<p>I started programming in PhP recently.</p>

<p>In Java, command Im looking for would be some setText or something like that.</p>
