title: Easiest way to temporarily store key-value pairs in a form using JQuery
body: <p>How can I temporarily store an array of string values most elegantly in a form?</p>
  
  <p>I have a form, where a user can edit an article - and add tags, which are simply string values.</p>
  
  <p>I don't want to persist it until the user actually saves the entire article, so I need to be able to temporarily ...:</p>
  
  <ul>
  <li>Display the list of selected tags</li>
  <li>Add a tag to the list</li>
  <li>Remove a tag from the list</li>
  <li>Submit the list of values when I save the form</li>
  </ul>
  
  <p>I could store everything in just a comma-separated hidden field, but it seems ugly, and I would prefer something stronger typed.</p>
  
  <p>What is the right way to do this? Pointers to examples very welcome.</p>