我在test.php中有一个milti-dimensional数组:
$rows=array();
$rows[]=array('test1','test2');
$rows[]=array('test3','test4');
echo json_encode($rows);
我希望在客户端获取它们并在Jquery中解析它:
$.get( "test.php",
function(data){
//how can I get data here??
}
);