title: Loop all the number with Jquery
body: <p>I have used simple loop to get all number, but I have tried to put all number that have been looped into HTML, but all I get is the last number into the HTML. But I want it to give all the numbers and not only the last number. How to get all numbers published on HTML with jQuery? </p>
  
  <pre><code>for (var i = 0; i &lt; 10; i++) {
      $(.div_class_name).html(i); 
  }
  </code></pre>
  
  <p>But my question is, why doesn't it give us all number? I know that it is possible with JavaScript but how about jQuery?</p>
  
  <p>Thanks for the help!</p>