摘要: 服务端用 HttpUtility.UrlEncode(v.Content).Replace("+", "%20"); //因为 content里有空格的话 ,编码后空格会变成 “+”客户端: decodeURIComponent(content) // unescape之类已经废弃了注意: 用习惯了 $(o).text(); //这个会自动编码 <a> 之类的标签会以文本显示 $(o).html() 直接显示内容 <a> 会起作用 阅读全文
posted @ 2011-04-06 11:49 失落小羊 阅读(396) 评论(0) 推荐(0) 编辑