<div class="app">this <p>is a boll</p></div>
var text = $(".app")
.clone() //复制元素
.children() //获取所有子元素
.remove() //删除所有子元素
.end() //回到选择的元素
.text()
console.log(text) 输出 this