今天做项目的过程中,发现一个非常奇怪的事情。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>

posted on 2011-05-24 16:37  lorgine  阅读(3248)  评论(5编辑  收藏  举报