包含值我有JSON字符串,它是由server.php刪除字符串,通過jQuery或PHP
[{"attr":{"id":"node_7","rel":"default"},"data":"doc.html","state":""},
{"attr":{"id":"node_8","rel":"folder"},"data":"New node","state":"closed"},
{"attr":{"id":"node_9","rel":"folder"},"data":"New node","state":""}]
產生怎樣刪除包含值rel=default
這是一個完整的字符串是我的server.php的代碼。
require_once("config.php");
$jstree = new json_tree();
echo $jstree->{$_REQUEST["operation"]}($_REQUEST);
die();
這是server.php的代碼 – user1498809 2012-07-06 15:29:47
您在哪裏處理JSON? – 2012-07-06 15:37:03