摘要: function html_encode(str) { var s = ""; if (str.length == 0) return ""; s = str.replace(/&/g, "&"); s = s.replace(//g, ">"); ... 阅读全文
posted @ 2015-08-02 16:09 hao.ma 阅读(258) 评论(0) 推荐(0) 编辑