//过滤html function filter(content) { content= content.replace(/\"/g, ""); content= content.replace(/\'/g, ""); content= content.replace(/\\/g, ""); content= content.replace(/<[^>]*>/g, ""); return content; }