今天做项目的过程中,发现一个非常奇怪的事情。iframe标签后面的js 不执行?

把代码贴出来,看看有没有大牛碰到这种情况。谢谢。

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Untitled Page</title>
</head>
<body>

    <script type="text/javascript">
        alert(2324);
    </script>

    <iframe src="http://www.baidu.com/" />

    <script type="text/javascript">
        alert(232214);
    </script>

</body>
</html>

相关文章:

  • 2021-05-31
  • 2022-02-12
  • 2021-08-20
  • 2021-09-07
  • 2022-12-23
  • 2022-12-23
  • 2021-06-02
  • 2021-11-03
猜你喜欢
  • 2021-06-27
  • 2021-12-05
  • 2022-12-23
  • 2022-02-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案