模板页先判断是否有方法DocumentReady,有的话就调用

1、模板页 

<script type="text/javascript" language="javascript">
        function DocumentLoad() {
            if (typeof (DocumentReady) == "function") {
                DocumentReady();
            }
        }
</script>

<body class="RecordBody" style="font-family:Arial" onload="DocumentLoad();">

<body>

 

2、内容页

 DocumentReady();

相关文章:

  • 2021-05-16
  • 2022-12-23
  • 2022-12-23
  • 2021-08-10
  • 2021-06-20
  • 2022-01-19
  • 2022-12-23
  • 2021-04-09
猜你喜欢
  • 2022-12-23
  • 2021-11-13
  • 2022-12-23
  • 2021-08-28
  • 2021-12-30
  • 2022-12-23
  • 2022-03-04
相关资源
相似解决方案