title: Why not add element in array?
body: <p>Code:</p>
  
  <pre><code>$(function(){
      var Name = [];
  
      for($i=1; $i&lt;16; $i++) {
          var id = $i;
          $.post("./index.php", {
              record : id
          }, function(data){
                Name.push(data);
          });
      }
  
      alert(Name);
  });
  </code></pre>
  
  <p>data return result as <code>&lt;a href="#"&gt;&lt;img src="./name.jpg"&gt;&lt;/a&gt;</code></p>
  
  <p>Tell me please why data not add in array?</p>