[
{
"name": "张三",
"birthday": "1947-05-03"
},
{
"name": "李四",
"birthday": "1929-01-01"
}
]
上诉的json数组(后台给的)如何在下面的table中显示?
<table><thead><tr><th>姓名</th><th>年龄</th></tr></thead><tbody></tbody></table>
给table个id
var data = [{"name": "张三","birthday": "1947-05-03"},{"name": "李四","birthday": "1929-01-01"}];