php 用json_encode(array("data1"=>"$test1")); 網路上這樣用,那在資料是字串時沒有問題,在ajax 經過var item = JSON.parse(data);用item["data1"] ...
確定! 回上一頁