后台代码<br>JsonResult jr =
new
JsonResult() { Data =
new
{ Filename = filename, Convented = convented, Datetime_now = datetime_now } };
返回的json格式
{"ContentEncoding":null,"ContentType":null,"Data":{"Filename":"d:/ 资源/20121218041946587/20121218041946587.flv","Convented":"d:/资源 /20121218041946587/20121218041946587.mp4","Datetime_now":"20121218041946587"},"JsonRequestBehavior":1}
js解析json
eval(
'('
+ response +
')'
).Data.Filename