jQuery之.html()和.text()区别

.html()//获取标签和内容

.text()//只获取内容

posted @ 2016-03-24 11:30  collin-liu  阅读(120)  评论(0编辑  收藏  举报