title: How can i pass the variable inside the tag through .html() jquery method?
body: <p>Here is the sample code :</p>
  
  <pre><code>$('#button1').click(function () {
      var result = $('input[type="checkbox"]:checked');
      var numbers = result.length;
      $('div[class="new"]').html('&lt;h1&gt;numbers&lt;/h1&gt;');
  });
  </code></pre>
  
  <p>where I want to display all variables within different tags.
  Right now i am only getting numbers as output on my DOM?
  how can i get the value of numbers in DOM?</p>