//插入图片,关闭层(这个还是那个错,疑问在最后一行,输出js时还是3.4版本的代码,请问新版本的js该怎么写)
DataContractJsonSerializer serializer = new DataContractJsonSerializer(imgUrl.GetType());
MemoryStream ms = new MemoryStream();
serializer.WriteObject(ms,imgUrl);
//这里的json是图片的路径
string json = Encoding.UTF8.GetString(ms.ToArray());
//疑问点,如何写插入图片和关闭层,那个php的文件我看了,实在是看不懂
Response.Write("parent.KE.plugin['image'].insert('" + Request.Form["id"] + "','" + json + "','" + Request.Form["imgTitle"] + "','" + Request.Form["imgWidth"] + "','" + Request.Form["imgHeight"] + "','" + Request.Form["imgBorder"] + "');");