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

html代码

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

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