1.
//去掉所有的html标签
delHtmlTag(str){
this.ff=str.replace(/<[^>]+>/g,"");
},
2.
<div class="textBox1" id="textBox1" disabled=true></div>
document.getElementById("textBox1").innerText="<h1>My First JavaScript</h1>"