有时我们被逼在旧式IE下使用vbscript来模拟标准浏览器的一些高级特性,需要用到这个

        <script  type="text/VBScript">  
            function  VBMethod(a,b)
            VBMethod = a + b
            end  function  
        </script>  

        <script>  
            if(typeof VBMethod === "unknown"){//看这个
               alert(VBMethod(10,34))
            }
        </script> 

相关文章:

  • 2022-12-23
  • 2022-02-02
  • 2022-12-23
  • 2021-12-27
  • 2021-12-27
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2022-02-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案