1.htmlå å¯è§£å¯ä»£ç
2.解å¯HTMè¯è¨Â·Â·
htmlå å¯è§£å¯ä»£ç
<HTML><HEAD><TITLE>纯çè¿å¾-æ¹å® - å å¯/解å¯HTMLæºä»£ç </TITLE>
<META content="text/html; charset=gb" </a></p>
</BODY>
解å¯HTMè¯è¨Â·Â·
è¿ä¸ªæ ¹æ¬æ²¡å å¯ï¼åªä¸è¿ç¼ç 使ç¨äºutf-8èå·²ï¼å ·ä½çä¿¡æ¯æ¯ï¼
msg:转账æåï¼[éæå¦æ¨å¹¿åä½]转ç»[èµXXXX]游æå¸ æ¶é´ï¼-- ::
result:success
è¦èµ°htmléé¢çå°ï¼å¯ä»¥ç¨ä¸é¢çç®å代ç ï¼
<html>
<head>
<script>
function f()
{
var data=
{ "msg": "\u8f6c\u8d\u\uf\uff0c[\ud1\u\u5b\ua8\u5e7f\u\u4f5c]\u8f6c\u7ed9[\u8d4cXXXX]\u6e\uf\u5e\n\uf6\uf4\uff1a-- ::",源码yii注册源码
"result": "success"
};
alert("msg:"+data["msg"] + "\nresult:"+data["result"]);
}
</script>
</head>
<body onload="f()"></body>
</html>