首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

这个在ff用不了 为什么啊该怎么解决

2012-03-18 
这个在ff用不了 为什么啊varoNewDivdocument.createElement( div )with(oNewDiv){onmouseoverfunctio

这个在ff用不了 为什么啊
var   oNewDiv   =   document.createElement( "div ");
with(oNewDiv){
onmouseover   =   function(){   this.className   =   "selected "   };
onmouseout   =   function(){   this.className   =   " "   };
innerHTML   =   sValue;
}
this.oDiv.appendChild(oNewDiv);

ie能正常的

[解决办法]
this.oDiv.是什么意思

热点排行