前台通过ajax方法异步调用后台生成的html代码,后台通过HttpUtility.encodeURI方法编码,前台通过js方法,decodeURIComponent方法解码,但是前台解码不能解析后台编码后的加号和空格。解决方法:后台直接用Microsoft.JScript.GlobalObject.encodeURIComponent(content)方法编码,前台用decodeURICompo
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号