注册 登录
编程论坛 ASP技术论坛

innertext的问题

yangzeng 发布于 2008-08-14 10:53, 922 次点击
if(switchpoint.innertext==3){
function switch sysbar()
switchpoint.innertext=4
document.all("frmtitle").style.display="none"
}
else{
switchpoint.InnerText=3
document.all("frmtitle").style.display=""}}

这个是什么意思?莫非是取前三个位置的字?
能否解释一下每个句子的意思?我不太理解,但是基本懂点
谢谢
2 回复
#2
yms1232008-08-14 12:32
switchpoint.innertext
属性是某个HTML元素内包含的文本
#3
yangzeng2008-08-14 13:59
谢谢版主
1