課程
/前端開發(fā)
/jQuery
/jQuery基礎課程
如果能繼續(xù)發(fā)送,那是怎樣一個執(zhí)行過程
2016-04-03
源自:jQuery基礎課程 12-14
正在回答
s.url?=?(?(?url?||?s.url?||?location.href?)?+?""?).replace(?rhash,?""?) .replace(?rprotocol,?location.protocol?+?"http://"?);
這是jquery.js里面的代碼
我要吃冰激凌 提問者
$.ajax()里的url為空,ajax請求發(fā)送到當前自己的頁面。 例如index.html里$.ajax()的url為空就發(fā)送到index.html.
舉報
加入課程學習,有效提高前端開發(fā)速度
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學習伙伴
掃描二維碼關注慕課網(wǎng)微信公眾號
2016-05-12
這是jquery.js里面的代碼
2016-04-04
$.ajax()里的url為空,ajax請求發(fā)送到當前自己的頁面。 例如index.html里$.ajax()的url為空就發(fā)送到index.html.