ajax常见面试问题

1.工做当中会和后台交互吗? 那你能说说封装好的 ajax里的几个参数吗 ? url: 发送请求的地址。 type: 请求方式(post或get)默认为get。 async: 同步异步请求,默认true全部请求均为异步请求。 timeout : 超时时间设置,单位毫秒 data:要求为Object或String类型的参数,发送到服务器的数据 cache:默认为true(当dataType为scri
相关文章
相关标签/搜索