61,112
社区成员
发帖
与我相关
我的任务
分享
<html>
<head>
<script type="text/javascript" src="/Script/jquery-1.4.2.js">
</script>
<script type="text/javascript">
$(document).ready(function() {
$("a").click(function(){
$("#funfun").append("Loading......");
$.ajax({
type: "get",
url: "22.php",
cache: false,
error: function() {alert('加载页面' + url + '时出错!');},
success: function(msg) {
$("#funfun").empty().append(msg);
}
});
});
});
</script>
</head>
<body >
<a href="#" id="kk">aaaaaaa</a>
<div id="funfun">
</div>
</body>
</html>
<html>
<head>
</head>
<body>
<?php
echo "kkkkkkkk";
?>
</body>
</html>