<script>
var
json = [{dd:
'SB'
,AA:
'东东'
,re1:123},{cccc:
'dd'
,lk:
'1qw'
}];
for
(
var
i=0,l=json.length;i<l;i++){
for
(
var
key
in
json[i]){
alert(key+
':'
+json[i][key]);
}
}
</script>
function setQueryVal() { var argsObj={id:@ViewBag.RssTaskId} postBackCurrent("GetTask", argsObj, function (json) { if (json!=""&&json.RptParams!="") { JSON.parse(json.RptParams, function (key, value) { if (key=="_endDate"||key=="_beginDate") { var year=value.toString().substring(0,4); var mouth=value.toString().substring(4,6); var day=value.toString().substring(6,8); var time=year+"-"+mouth+"-"+day; $("#"+key+"").val(""+time+"") }else { if (value!=null&&value!=""&&typeof(value)!="object") { var result= value.split(","); for(var i=0;i