论坛
Firefox 桌面版
Firefox for Android
附加组件
RSS
搜索
登录
注册
challenger的个人空间
访问量
0
新鲜事
帖子
资料
https://www.firefox.net.cn/index.php?m=space&uid=4392
关于innerText的用法?
parent.document.getElementById("images").innerText = "要改变的文本"想用上面的代码来改变<td id="images"></td>标签中的文字...
全文
回复
(
16
)
2005-04-13 23:49
来自版块 -
Web 开发技术交流
◆
◆
表情
告诉我的粉丝
提 交
w5552
:
HTMLElement.prototype.__defineGetter__ ( "innerText", function () { var anyString = ""; var childS = this....
(2005-04-13 23:49)
回复
liad
:
[转] Mozilla and Firefox do not support innerText. Use DOM 3 textContent() instead for Mozilla and Firefox.
(2005-04-13 23:49)
回复
netsoul
:
不好意思上面的帖子发错了
(2005-04-13 23:49)
回复
netsoul
:
你的css写的太乱了,多用一些缩写的方法,如字体就不用每次都定义 body div{ font-family:verdana; margin:0px; padding:0px; } #id1,#id2,#id3{ /*一起定义等等*/ } 下面是一篇很好的关于怎...
(2005-04-13 23:49)
回复
netsoul
:
同意猫头猪的方法
(2005-04-13 23:49)
回复
猫头猪
:
innerText不标准,不支持. 你看能不能改用innerHTML吧.
(2005-04-13 23:49)
回复
« 上一页
1
2
challenger
加关注
写私信
0
关注
0
粉丝
11
帖子
返回顶部