jerry li

博客园 首页 联系 订阅 管理
  1. mymsg=mymsg.replace(/<\/?.+?>/g,"");//html2txt    去掉html标记           
  2. mymsg=mymsg.replace(/\n|\r/g,"");    //去掉换行
posted on 2010-02-01 15:08  jerry li  阅读(1268)  评论(0编辑  收藏  举报