為什么alert 兩遍?。?/h1>
<!DOCTYPE HTML>
<html>
<head>
? ? <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="http://www.xianlaiwan.cn/static/lib/jquery/1.9.1/jquery.js"></script>
? ? <title></title>
</head>
<body>
? ? <script >alert($) </script>
</body>
</html>
<!DOCTYPE HTML>
<html>
<head>
? ? <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="http://www.xianlaiwan.cn/static/lib/jquery/1.9.1/jquery.js"></script>
? ? <title></title>
</head>
<body>
? ? <script >alert($) </script>
</body>
</html>
2018-12-27
因為慕課網的虛擬程序彈一次,然后瀏覽器也彈了一次。