摘要: 去除html标签: function del_html_tags(str) { var words = ''; words = str.replace(/]+>/g,""); return words; } 去除空格: function Trim(str,is_global) { var result; result = str.replace(/(^\s... 阅读全文
posted @ 2016-05-24 15:55 flay 阅读(2701) 评论(0) 推荐(0) 编辑