title: Array object in jQuery
body: <p>I have array object in jquery.</p>
  
  <pre><code>array=[];
  array{Id:user.Id,Date:user.Date};
  </code></pre>
  
  <p>Now am going to pass this array object to my handler file which have n number of users. In success function now am going to change the Date for the array only for the particular user. For that i have to find whether array has the user, if yes i have to change the date. So,</p>
  
  <pre><code>if (jQuery.inArray(user.Id, array)) {
  
  // code have to done
  
  }
  </code></pre>
  
  <p>If my above code is right, Can anyone tell me how to change the date value of the user or tell me any-other simplified way?</p>