啊這個猥瑣的noob我是,下面的html文件不會提醒任何人我的呼救聲。有人知道爲什麼從谷歌加載jquery不起作用(對我來說)
<html>
<head>
<script type="text/javascript"
src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
alert('Somebody please help me.');
});
</script>
</head>
<body>
</body>
</html>
您正在使用哪種瀏覽器?它是在瀏覽器中打開的獨立.htm文件,在本地主機上測試,Internet託管?)? – 2011-05-03 22:02:09