title: Using the jQuery each() function to loop through classname elements
body: <p>I am trying to use jQuery to loop through a list of elements that have the same classname &amp; extract their values.</p>
  
  <p>I have this..</p>
  
  <pre><code>function calculate() {
  
      // Fix jQuery conflicts
      jQuery.noConflict();
  
      jQuery(document).ready(function(){    
  
          // Get all items with the calculate className
          var items = jQuery('.calculate');
  
  
  
      });    
  
  }
  </code></pre>
  
  <p>I was reading up on the each() function though got confused how to use it properly in this instance.</p>