title: Store multiple values in localStorage when clicked on
body: <p>So what im trying to do is have jQuery remember what was clicked on. </p>
  
  <p>So say the user clicks on a list item and also clicks on another list item. How would i store both item classes that the user clicked on.</p>
  
  <p>Here is what i have currently</p>
  
  <pre><code>$(document).ready(function() {
      $('#terms-product_cat ul li').on('click', function(event) {
          $(this).addClass('current-term');
          window.localStorage['temp_type'] = $(this).find('label').attr('class');
      });
      alert(window.localStorage['temp_type']);
  });
  </code></pre>