I have array object in jquery.
array=[];
array{Id:user.Id,Date:user.Date};
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,
if (jQuery.inArray(user.Id, array)) {
// code have to done
}
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?