<script type="text/javascript" src="js/ajax.js"></script> type: "post", url: '+url+/class/config.class.php', data: { "s": 1 }, dataType: "json", async: false,類似于php的_dir_如何能識別出絕對路徑,然后加入的到url的這個位置中呢. 這段代碼直接寫到ajax.js中不能直接顯示.
ajax的路徑問題
ABOUTYOU
2019-02-04 16:35:35