摘要: Ajax步骤: 1.创建一个对象XMLHttpRequest对象. 2.设置回调onreadystatechange方法.判断成功与否( status=200 readyStates = 4). 题外话: staus各数值所代表的意思:200=成功;404:路径请求错误;503:服务不可用;read 阅读全文
posted @ 2017-09-19 17:47 杨小coding 阅读(170) 评论(0) 推荐(0)