title: Add or change a value of JSON key with jQuery or JavaScript
body: <p>I have a <code>JSON</code> <code>string(?)</code> that I have returned from <code>$.ajax()</code> and named it <code>data</code>. Some of the values are empty and I need to add values to some of the keys and send it back to my PHP script.</p>
  <p>I access the existing values by <code>data.keyName</code>. How do I add or change the values of certain keys in <code>data</code>?</p>
  <p>This is what <code>data</code> looks like.</p>
  <pre><code>{
      &quot;ID&quot;:&quot;48&quot;,
      &quot;userID&quot;:&quot;0&quot;,
      &quot;address&quot;:&quot;750 North High Street&quot;,
      &quot;city&quot;:&quot;Columbus&quot;,
      &quot;state&quot;:&quot;OH&quot;,
      &quot;zip&quot;:&quot;43215&quot;,
      &quot;lat&quot;:&quot;39.977673&quot;,
      &quot;lng&quot;:&quot;-83.003357&quot;,
      &quot;busNumber&quot;:&quot;55&quot;,
      &quot;isClaimed&quot;:&quot;N&quot;,
      &quot;whereFound&quot;:&quot;&quot;,
      &quot;busNum&quot;:&quot;&quot;,
      &quot;email&quot;:&quot;&quot;,
      &quot;fname&quot;:&quot;&quot;,
      &quot;lname&quot;:&quot;&quot;,
      &quot;comments&quot;:&quot;&quot;
  }  
  </code></pre>