GET:$.get(..)
POST:$.post()..
那么PUT/DELETE呢?
发布于 2017-12-13 07:20:24
$.ajax 。
$.ajax({
url: 'script.php',
type: 'PUT',
success: function(response) {
//...
}
});
发布于 2017-12-13 07:19:45
你可以使用ajax方法:
url: '/script.cgi',
type: 'DELETE',
success: function(result) {
// Do something with the result
相似问题
领取专属 10元无门槛券
AI混元助手 在线答疑
洞察 腾讯核心技术
剖析业界实践案例