摘要:
function json2url(json){ //json参数转字符串 json.t=''+Math.random(); json.t=json.t.replace('.',''); var arr=[]; for(var name in json){ arr.push(name+'='+jso 阅读全文
posted @ 2017-05-28 13:27
彭小妍
阅读(220)
评论(0)
推荐(0)
摘要:
1.创建一个ajax对象 var oAjax=new XMLHttpRequest();2.连接 oAjax.open('GET','a.txt'+'?'+data,true); oAjax.open('POST',url,true);3.发送 oAjax.send(); oAjax.setRequ 阅读全文
posted @ 2017-05-28 13:17
彭小妍
阅读(128)
评论(0)
推荐(0)
浙公网安备 33010602011771号