I guess this might help, use as below: fetch('/url/to/server') .then(res => { return res.text(); }) .then(data => { $('#container').html(data); } ...
確定! 回上一頁