最新回答 / AREYOUHACKER
var xhr = new XMLHttpRequest();xhr.open("get","http://localhost/gztest/api/goodlist.php", true);?xhr.send()
2016-10-15
最新回答 / 慕粉4092037
<script type="text/javascript">?? ?function ajax(){?? ??? ?? var xmlHttp=new XMLHttpRequest();//建立請(qǐng)求對(duì)象?? ??? ?? var phone=document.getElementById("phone") ;//獲得請(qǐng)求參數(shù)?? ??? ?? var order=document.getElementById("order");?? ??? ?? var url = "LoginServle...
2016-10-13
最新回答 / 蘇桃子Simba
我在我的環(huán)境里運(yùn)行時(shí)沒有問題的?<...圖片...>php文件里用<?php ?var_dump($_GET);?>測(cè)試結(jié)果如上圖 結(jié)果只能是你的php文件有問題
2016-09-29
最新回答 / 慕課網(wǎng)3251757
header("Content-Type:text/plain;charset=gbk");應(yīng)該是header("Content-Type:application/x-www-form-urlencoded;charset=gbk");
2016-09-27
最新回答 / wojiaoronger
那就一樣吧。。json就是javascript的對(duì)象字面量。只是因?yàn)樗淖址袷教貏e適合傳遞數(shù)據(jù),所以其他語言加入了對(duì)他的支持。網(wǎng)上找的。
2016-09-25