var json=[];
json.push({"id":"1","name":"abc"});
json.push({"id":"2","name":"xyz"});
像这样推送我的json之后
json=[{"id":"1","name":"abc"},{"id":"2","name":"xyz"}];
在这里我要清除所有json
数据
像这样json=[]
有可能在jquery
or中javascript
吗?
var json=[];
json.push({"id":"1","name":"abc"});
json.push({"id":"2","name":"xyz"});
像这样推送我的json之后
json=[{"id":"1","name":"abc"},{"id":"2","name":"xyz"}];
在这里我要清除所有json
数据
像这样json=[]
有可能在jquery
or中javascript
吗?