title: How do I change a single value inside a localStorage item?
body: <p>I have a set of items that get saved but I'm trying to change a value after I retrieve it and before I pass it of to my php function.  Is it possible to change just one item?</p>
  
  <p>My string of items looks like this:</p>
  
  <pre><code>var args = window.localStorage.getItem("localusers");
  
  start=0&amp;type=1
  </code></pre>
  
  <p>I'm saving the localusers item like so:</p>
  
  <pre><code>window.localStorage.setItem('localusers', $("#profile_form_id").serialize());
  </code></pre>
  
  <p>I'm trying to set the value of type to a 6</p>
  
  <p>I can't find a supported method that allows me to get/set an item in the array so do I need to iterate through the array, change the value and then set the localusers item again?  It doesn't seem very efficient but I can't see any other way.</p>
  
  <p>Any thoughts or suggestions?</p>