美文网首页
JQ中的ajax

JQ中的ajax

作者: SuperHong521 | 来源:发表于2018-12-06 09:26 被阅读0次
$ajax({//执行异步ajax请求
    type:'GET/POST',
     url:'xxx.php',
     data:{'属性名':'属性值'}//规定发送的数据(对象型)
    success:function(result返回的数据,status想要的消息,xhr){},
    error:function(){}//失败可以不写
})

相关文章

网友评论

      本文标题:JQ中的ajax

      本文链接:https://www.haomeiwen.com/subject/ourncqtx.html