如何使用Jquery從json格式中提取'customers_firstname'?Jquery Json提取節點?
<?php echo json_encode($users) ?>
輸出
[{"Customer":{"id":"13","customers_gender":"M","resumetest":"a15ff2aa27d616636b5bc30fac4dba38733f4e5f","created":"2013-01-29 13:49:06","modified":"2013-03-14 11:50:18","customers_firstname":"Gerald","customers_lastname":"Russ"}},{"Customer":{"id":"14","customers_gender":"F","resumetest":null,"created":"2013-01-29 15:41:23","modified":"2013-02-14 15:08:42","customers_firstname":"Jim","customers_lastname":"Carrie"}}]
謝謝隊友!請問? console.log()做了什麼?我如何將結果追加到表格中,並在結果中循環顯示。 – DANLEE 2013-03-21 03:25:00
對於console.log()檢查這個http://stackoverflow.com/questions/4743730/what-is-console-log-and-how-do-i-use-it。更新 :) – Mate 2013-03-21 03:36:39