getJSON("mydata.json", function (json) { alert("JSON Data: " + json.name); });. 讀出json屬性的值,name是KEY,根據自己KEY定義改.
確定! 回上一頁