innerHtml,String that specifies or receives the content between the start and end tags. The property is read/write for all objects except the following, for which it is read-only: COL, COLGROUP, FRAMESET, HTML, STYLE, TABLE, TBODY, TFOOT, THEAD, TITLE, TR. The property has no default value.如上,实际上列(td)是没有这个属性的,行(tr)有,但是只能取tr的innerHtml值,不能赋值。tr的outerHtml可以赋值。
to Abac(~~)大虾 : 可是,思归大虾说:cell有InnerHTML属性的,而且,我的label也没有这个属性!为什么?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货