title: How to make an autofill for input type 1 letter at a time?
body: <pre><code>var addy = "1234567812345678"
  
  function fillAddy(i) {
      var addyKey = addy.substring(0, (addy.length - (addy.length - i) * -1)) 
      $('*[placeholder$="number"]').val(addyKey);
  }
  
  for (i = 1; i &lt; addy.length; i++) {
      setTimeout(fillAddy(i), 2000);
  }
  </code></pre>
  
  <p>I'm trying to make it so when it fills in addy in the input "[placeholder$="number"]" that it fills it one letter at a time with a 2 second delay each time it adds a letter/number, for some reason it fills it all in at once.</p>