0
我正在執行下面的代碼,但我得到錯誤:「Objected Expected」 我檢查了代碼,但沒有發現任何問題。執行jquery函數時出錯
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script>
$(document).ready(function(){
$("#clickme").click(function(){
$("#body1").load("http://www.w3schools.com");
});
});
</script>
</head>
<body>
<div id="header">
<a href="#" id="#clickme">Click me</a>
hello
</div>
<div id="body1">
mid
</div>
<div id="footer">
hi
</div>
</body>
</html>
仍是其不加載的ID刪除井號。我正在使用IE8 :( – Aquarius24