码云 前端开发 js中innerHTML,innerText,outerHTML用法总结 如何获取 DIV 里面的内容,在 js 中为大家提供了三种方法,分别是 outerH... innerHTML innerText JavaScript outerHTML