首先打开ietester的DebugBar,切换到脚本标签,可以看到最下面一栏有个输入框,注释写着”// Javascript 控制台”,
var s = document.createElement("script");
s.src = "http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js";
s.type= "text/javascript";
if(document.all){
   s.onreadystatechange = function(){
    if(this.readyState == "loaded" || this.readyState == "complete"){
     alert("loaded success in ie");
    }
   }
} else {
   s.onload = function(){
    alert("load success");
   }
}
document.body.appendChild(s);


firebug.init();

相关文章:

  • 2021-09-04
  • 2022-01-21
  • 2022-01-14
  • 2021-05-25
  • 2022-12-23
  • 2022-01-03
  • 2021-05-31
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-03
  • 2021-11-02
  • 2021-12-24
  • 2021-06-12
相关资源
相似解决方案