關于url部分的設置
為啥老師url是https://crossorigin.me/www.webxml.com.cn/WebServices/TrainTimeWebService.asmx/getDetailInfoByTrainCode?UserID=&TrainCode=G1(關于跨域的部分我修改了)可以 但我這里一定要https://crossorigin.me/http://www.webxml.com.cn/WebServices/TrainTimeWebService.asmx/getDetailInfoByTrainCode?UserID=&TrainCode=G1(多一個 http://)才行?
2016-09-05
$.get(url,{TrainCode:"G1"},function(data){
console.log(data);
$.mobile.loading("hide");});
的第二個參數是干什么用的?? ?加上去之后會影響url,在我這里也會導致錯誤。。 ?有誰知道為什么嗎??