C#
HttpUtility.JavaScriptStringEncode(xxxx)

javaScript

decodeURIComponent(xxx);

http://stackoverflow.com/questions/2920752/is-there-a-standard-way-to-encode-a-net-string-into-javascript-string-for-use-i

文章標籤
全站熱搜
創作者介紹
創作者 amychang2014 的頭像
amychang2014

工作需要筆記

amychang2014 發表在 痞客邦 留言(0) 人氣(771)