scottybowl
05-25-2006, 09:20 AM
i have the array
SPECIAL_DAYS = {
};
i want to put the value of "results" into SPECIAL_DAYS, results contains the following (results is a variable from the result of an AJAX call):
"2006-5" : [ 5 ],
"2006-6" : [ 3 ],
"2006-7" : [ 7 ],
"2006-8" : [ 4 ],
"2006-9" : [ 2 ],
"2006-10" : [ 6 ],
"2006-11" : [ 4 ],
"2007-0" : [ 1 ],
"2007-1" : [ 5 ],
"2007-2" : [ 5 ],
"2007-3" : [ 2 ],
"2007-4" : [ 7 ],
"2007-5" : [ 4 ],
"2007-6" : [ 2 ],
"2007-7" : [ 6 ],
"2007-8" : [ 3 ],
"2007-9" : [ 1 ],
"2007-10" : [ 5 ]
i'm stumped, any suggestions?
SPECIAL_DAYS = {
};
i want to put the value of "results" into SPECIAL_DAYS, results contains the following (results is a variable from the result of an AJAX call):
"2006-5" : [ 5 ],
"2006-6" : [ 3 ],
"2006-7" : [ 7 ],
"2006-8" : [ 4 ],
"2006-9" : [ 2 ],
"2006-10" : [ 6 ],
"2006-11" : [ 4 ],
"2007-0" : [ 1 ],
"2007-1" : [ 5 ],
"2007-2" : [ 5 ],
"2007-3" : [ 2 ],
"2007-4" : [ 7 ],
"2007-5" : [ 4 ],
"2007-6" : [ 2 ],
"2007-7" : [ 6 ],
"2007-8" : [ 3 ],
"2007-9" : [ 1 ],
"2007-10" : [ 5 ]
i'm stumped, any suggestions?