Js全部替换

inputtext.replace(/\%/g, '') 将%全部替换为空

inputtext.replace(/\,/g, '') 将,全部替换为空

posted @ 2016-06-02 15:44  画风  阅读(183)  评论(0编辑  收藏  举报