title: Using jQuery.data to store a list of items
body: <p>I'm working on a page where I need to associate a list of objects with a row of a table, and I'm using jQuery.</p>
  
  <p>jQuery.data seems to just associate a piece of data with a key, whereas I need more like</p>
  
  <pre><code>id=4,setting=2
  id=3,setting=1
  ...
  </code></pre>
  
  <p>I don't know how long the list could be, and it could be empty. </p>
  
  <p>Is there a sensible way of doing this?</p>