jquery.post用法示例代码
2017年02月06日
14 阅读
使用ajax在前端验证是否执行某个操作 jquery.post参数为 url,[data],[callback],[type] url:发送请求地址。 data:待发送 Key/value 参数。 callback:发送成功时回调函数。 type:返回内容格式,xml, html, script, json, text, _default。 复制代码 代码如下: $.post("admin/HhCheckVote.do?ids=" + "${ids}", ...