alert(document.getElementById('test').innerHtml。replace(/<.+?>/gim,''));
innerHtml 去除 html 标签代码
最新推荐文章于 2022-10-27 14:55:10 发布
alert(document.getElementById('test').innerHtml。replace(/<.+?>/gim,''));