title: How Can I send next element of array on each click of button?
body: <p>I have a string[] arr. I want to make it like if I click the button once arr[0] goes to the textbox and If I click button again arr[1] goes to textbox.</p>
  
  <p>I know it will be done using some counter and incrementing it on each click but im just confused with syntax. Help will be appreciated.</p>