How do i the use document.write() in javascript to access this form of array?
({"1":{"1":1,"2":1,"3":1},
"2":{"1":1,"2":1,"3":2},
"3":{"1":1,"2":2,"3":1},
"4":{"1":1,"2":2,"3":2},
"5":{"1":2,"2":1,"3":1,"4":1},
"6":{"1":2,"2":1,"3":1,"4":2},
"7":{"1":2,"2":1,"3":2},
"8":{"1":2,"2":2,"3":1},
"9":{"1":2,"2":2,"3":2}})
For example, if you want to access the first element of the first array, you should write:
Since you apparently use jQuery, here is how to print your elements:
});