Hi,

I'm trying to retreive an associative array passed with JSON.

alert(JSON.stringify(myJson)); produces the string below.

{"1":[{"num_inquiries":"60","num_quotes":"45"}],"2":[{"num_inquiries":"4","num_quotes":"2"}],"3":[{"num_inquiries":"60","num_quotes":"50"}]}

How do I get the num_inquiries.

I tried alert(myJson["1"]["num_inquiries"]) and alert(myJson[1]["num_inquiries"]) but they don't work.

Any help would be appreciated.