30 lines
547 B
HTML
30 lines
547 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Document</title>
|
|
</head>
|
|
<body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
<script src="./ajax.js"></script>
|
|
<script>
|
|
ajax.get({
|
|
url: 'http://127.0.0.1/my.php',
|
|
data: {
|
|
id: 1,
|
|
page: 2
|
|
},
|
|
header: {
|
|
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
|
|
},
|
|
)
|
|
</script>
|
|
</html> |