ajax 发起get、post请求 获取服务器时间 一:ajax发起get请求 获取服务器时间 一般处理程序代码 html代码 js代码 运行结果: 二:ajax 发起post 请求 获取服务器时间 html代码 js代码 运行结果