title: Best way to add these variables to an array or JSON to send?
body: <p>These will eventually be going to a [Web Method] (asmx)</p>
  
  <p>Here is the code:</p>
  
  <pre><code>$("#LessonContent").contents().find("span[class*='questionnumberincorrectsetting']").each(function() {
    alert($(this).html());
  });
  $("#LessonContent").contents().find("span[class*='questiontextincorrectsetting']").each(function() {
    alert($(this).html());
  });
  $("#LessonContent").contents().find("span[class*='textfeedbackincorrectsetting']").each(function() {
    alert($(this).html());
  });
  </code></pre>
  
  <p>Okay, so there are three loops here all selecting different things, but they are all text so html() gets what I need.</p>
  
  <p>EACH of these will return exactly the same amount of information. If the first loop goes 4 times, then the rest will pretty much be guarenteed to also loop 4 times. You get the idea.</p>
  
  <p>The structure looks like this:</p>
  
  <pre><code>Question Number:
  
  Question Text:
  
  Question Feedback:
  </code></pre>
  
  <p>These three items make up one object that goes together.</p>
  
  <p>Repeat for the amount of questions on the page.</p>
  
  <p>What is the best way for me to store these? Would I be able to dynamically add them together based on an array and key? Is it better to try to use JSON objects?</p>
  
  <p>Do I need a counter variable?</p>
  
  <p>Thanks!</p>