課程
/前端開發
/WebApp
/jQM Web App –列車時刻表
為什么我明明輸入了TrainCode,但是一直500說缺少參數TrainCode
2016-12-05
源自:jQM Web App –列車時刻表 5-1
正在回答
返回的數據是:
<?xml version="1.0" encoding="utf-8"?><ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://WebXml.com.cn/">? <string>G1</string>? <string>北京南</string>? <string>上海虹橋</string>? <string>北京南</string>? <string>09:00:00</string>? <string>上海虹橋</string>? <string>13:48:00</string>? <string>1318</string>? <string>4:48</string>? <string /></ArrayOfString>
$(document).on("pageinit","#index",function () { ? ?var url="http://proxy.e12e.com/?http://www.webxml.com.cn/WebServices/TrainTimeWebService.asmx/getStationAndTimeByTrainCode?TrainCode=G1&UserID="; ? $("#ajaxbtn").on("click",function () { ? ? ? $.mobile.loading("show"); ? ? ? $.get(url,function (data) { ? ? ? ? ? console.log(data); ? ? ? ? ? $.mobile.loading("hide"); ? ? ? }); ? });});
可以貼代碼看下嗎?
舉報
主流移動WEB應用程序開發框架,可以開發簡單的Web App應用
1 回答下載源代碼本地運行,無論輸入什么那個圈一直轉,是怎么回事?
3 回答為什么會報錯?
2 回答為什么不能跨域
1 回答為什么不能搜索
2 回答課程代碼的data-no( _arr.push('<li><a href="#" data-no="' + that.find("TrainCode").text() + '">' +)是html5有的 還是自己自定義加的
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2016-12-22
返回的數據是:
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://WebXml.com.cn/">
? <string>G1</string>
? <string>北京南</string>
? <string>上海虹橋</string>
? <string>北京南</string>
? <string>09:00:00</string>
? <string>上海虹橋</string>
? <string>13:48:00</string>
? <string>1318</string>
? <string>4:48</string>
? <string />
</ArrayOfString>
2016-12-22
$(document).on("pageinit","#index",function () {
? ?var url="http://proxy.e12e.com/?http://www.webxml.com.cn/WebServices/TrainTimeWebService.asmx/getStationAndTimeByTrainCode?TrainCode=G1&UserID=";
? $("#ajaxbtn").on("click",function () {
? ? ? $.mobile.loading("show");
? ? ? $.get(url,function (data) {
? ? ? ? ? console.log(data);
? ? ? ? ? $.mobile.loading("hide");
? ? ? });
? });
});
2016-12-07
可以貼代碼看下嗎?