javascript下汉字和Unicode编码互转代码_javascript技巧【点击查看详情】
javascript下汉字和Unicode编码互转代码_javascript技巧: var classObj= { ToUnicode:function(str) { return escape(str).replace(/%/g,\\).toLowerCase(); }, UnUnicode:function(str) { return unescape(str.replace(/\\/g, %)); }, copyingTxt:function(str) { document.getElementById(str).select(); doc