This commit is contained in:
2025-01-07 20:18:34 +08:00
parent 6f3a7c2ecc
commit 540d8c4e5b
10 changed files with 42 additions and 42 deletions

View File

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<title>AJAX获取服务器时间</title>
<script src="/public_libs/jquery.js"></script>
</head>
<body>
<div id="div_1"></div>
<script type="text/javascript">
$(document).ready(function() {
$.ajax({
url: "/public_libs/server_ajax_1.php",
type: "GET",
success: function(response) {
$("#div_1").html(response);
}
});
});
</script>
</body>
</html>