如题,附上代码
index.html的代码:<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="./jquery/js/jquery-1.9.1.js"></script>
</script>
<script type="text/javascript" language="javascript">
$.ajaxSetup ({
cache: true //close AJAX cache
});
</script>
<script>
$(document).ready(function(){ 
  $("#btn1").click(function(){
    $('#test').load('./123.html');
  })
})
</script>
</head>
<body>
<h3 id="test">请点击下面的按钮,通过 jQuery AJAX 改变这段文本。</h3>
<button id="btn1" type="button">获得外部的内容</button>
</body>
</html>123.html的代码:<html>
<head>
<link rel="stylesheet" type="text/css" href="./bg.css" />
</head>
<body>
<table id="customers">
<tr>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Apple</td>
<td>Steven Jobs</td>
<td>USA</td>
</tr>
<tr class="alt">
<td>Baidu</td>
<td>Li YanHong</td>
<td>China</td>
</tr>
</table>
</body>
</html>图片上传不了,一直上传中...也就没等了,就像我描述的那样IE6第一次打开加载页面之后能显示表格,第二次之后就再也没表格了,只有中文