码迷,mamicode.com
首页 > Web开发 > 详细

jQuery: .html()

时间:2016-05-13 11:59:50      阅读:153      评论:0      收藏:0      [点我收藏+]

标签:

$(elementobject).html("hello");

相当于:

elementobject.innerHTML("hello");(   getElementById("elementobjectid").innerHTML("hello") )

相当于:

$(elementobject)[0].innerHTML("hello");

 

jQuery: .html()

标签:

原文地址:http://www.cnblogs.com/carolina/p/5486821.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!