[
{"task":"test","created":"/Date(1291676980607)/"},
{"task":"One More Big Test","created":"/Date(1291677246057)/"},
{"task":"New Task","created":"/Date(1291747764564)/"}
]
I looked here, and someone had the same question, but the “verified” correct answer was that in IE it would be different if the element was deleted and everything would be fine. My problem is that these elements are stored above, but when I go and grab them, repeat and return, the elements change to the opposite, and created- to the index 0, and task- to 1. Also, I need to return this as JSON.
Here is my main JS (value == int int which the user passes):
outputJSON = {};
for(x in json[value]){
outputJSON[x] = _objectRevival(json[value][x]);
}
return outputJSON;
This returns:
created: Mon Dec 06 2010 15:09:40 GMT-0800 (Pacific Standard Time)
task: "test"
source
share