03.
<head>
04.
<meta http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
05.
<title>Untitled Document</title>
06.
<link href=
"admin/css/style.css"
rel=
"stylesheet"
type=
"text/css"
/>
07.
<script language=
"javascript"
src=
"admin/module/scripts/jquery-1.6.4.js"
></script>
08.
<script language=
"javascript"
>
09.
$(document).ready(
function
() {
10.
$(
"#Load"
).click(
function
(){
11.
$.ajax({url:
"webpage.php"
})
12.
.success(
function
(result){ $(
"#myspan"
).html(result); })
13.
.error(
function
(){ $(
"#myspan"
).html(
"error"
); })
14.
.complete(
function
(){ $(
"#myspan"
).after(
"com"
); });
15.
});
16.
});
17.
</script>
18.
</head>
19.
<body>
20.
<div id=
"wrapper"
>
21.
<div id=
"header"
></div>
22.
<div id=
"slide"
><?php
include
(
"/slider.php"
); ?></div>
23.
<div id=
"left"
>
24.
<div
class
=
"box"
></div>
25.
<div
class
=
"box"
></div>
26.
</div>
27.
<div id=
"center"
>
28.
<span id=
"myspan"
></span>
29.
<input type=
"button"
id=
"Load"
value=
"Ajax"
/>
30.
</div>
31.
<div id=
"right"
>
32.
<div
class
=
"box"
></div>
33.
</div>
34.
<div id=
"fotter"
></div>
35.
</div>
36.
</body>
37.
</html>