js去掉内容中所有html标记的方法
function delHtmlTag(str) { return str.replace(/<[^>]+>/g, '');//去掉所有的html标记 }
本文固定链接: https://www.cxy163.net/archives/2910 | 绝缘体-小明哥的技术博客
昵称 *
邮箱 * (教你设置自己的个性头像)
网址
用户名:
密 码:
记住我