切换布局
显示结果
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>迹忆客(jiyik.com)</title> <script src="https://www.jiyik.com//templets/jiyi/v2/js/jquery-2.2.4.min.js"> </script> <script> $(document).ready(function(){ $("button").click(function(){ $.post("/demo_source/ajax_demo_test_post.php",{ name:"迹忆客", url:"https://www.jiyik.com" }, function(data,status){ alert("数据: \n" + data + "\n状态: " + status); }); }); }); </script> </head> <body> <button>发送一个 HTTP POST 请求页面并获取返回内容</button> </body> </html>