2016年12月27日

php curl选项说明

摘要: 第一类:对于下面的这些option的可选参数,value应该被设置一个bool类型的值:选项可选value值备注CURLOPT_AUTOREFERER当根据Location:重定向时,自动设置header中的Referer:信息。CURLOPT_BINARYTRANSFER在启用CURLOPT_RE 阅读全文

posted @ 2016-12-27 15:27 小乔流水人家 阅读(148) 评论(0) 推荐(0) 编辑

ajax请求封装

摘要: var xmlHttp; var ajaxRequest = function (params) { xmlHttp ={}; this.url = params.url; this.method = params.method; this.dataType = params.dataType; this.f... 阅读全文

posted @ 2016-12-27 13:46 小乔流水人家 阅读(108) 评论(0) 推荐(0) 编辑

js对象使用格式

摘要: var initEvent = { list:['editor'], editor:function () { var obj = $("[dataType = 'text']"),len = obj.size(),id,ue; for(var i = 0 ;i<len;i++) { id = obj.eq... 阅读全文

posted @ 2016-12-27 10:13 小乔流水人家 阅读(279) 评论(0) 推荐(0) 编辑

导航