new AjaxUtil()
ajax请求工具类
方法列表
| 名称 | 说明 |
|---|---|
| .get(args) | 发送GET请求 |
| .post(args) | 发送POST请求 |
| .send(args) | 发送AJAX请求 |
详细说明
(static) get(args)
发送GET请求
参数
| 名称 | 类型 | 缺省值 | 说明 |
|---|---|---|---|
args |
Object |
(static) post(args)
发送POST请求
参数
| 名称 | 类型 | 缺省值 | 说明 |
|---|---|---|---|
args |
Object |
(static) send(args)
发送AJAX请求
参数
| 名称 | 类型 | 缺省值 | 说明 |
|---|---|---|---|
args |
Object | {url, data, dataType, async, success, error, method, header, timeout, username, password} |
搜索