title: Jquery data() storing multiple values
body: <p>I have a simple app with a few multi-select lists.  I need to store the selections from these lists so that I can use them later in calculations.
  Since there isn't a whole lot of data being stored I thought I would use jquery's data().
  I have used it many times to store single values but can't get the right syntax to store multiple selections.
  Can I use something like the following to save these values or will it erase the previous value on each loop?</p>
  
  <pre><code>function storeCheckBoxes($this) {
  //save a list of checkbox values
     var key;
     $("input:checkbox").each(function () {
  
         if ($this.is(":checked")) {
             key = $this.attr("id");
             value = $this.val();
             $("#services").data(key, value);
  
         }
     });
  }
  </code></pre>
  
  <p>How can I store multiple items to a single dom element?</p>
  
  <p>Thanks</p>