title: Updating jquery associative array values
body: <p>I am trying to update values of an array but I am getting null instead. Here is how I populate the array:</p>
  
  <pre><code>   var id_status = []; id_status.push({ id:1, status: "true" });
  </code></pre>
  
  <p>So basically I end creating a JSON object with this array but how do I update individual values by looping through the array? Here is what I am attempting to do:</p>
  
  <pre><code>var id = $(this).attr("id"); id_status[id] = "false";
  </code></pre>
  
  <p>I want to be able to access the item in the array and update its' status after getting the row id.</p>