js和jquery获取当前元素的内容

html代码

<div>测试文本</div>
js:
div.innerHTML
jQuery:
div.html()

posted @ 2017-01-21 23:53  yewook  阅读(565)  评论(0编辑  收藏  举报