jQuery Cross Site Fetch

前端 未结 4 1229
轮回少年
轮回少年 2021-01-24 16:47

I feel like this is easy but I am missing something...

Using jQuery, I am trying to fetch a remote page (on a different server), capture the HTML contents, and inject

4条回答
  •  温柔的废话
    2021-01-24 17:32

    AJAX disallows cross-domain fetching. You must have your server fetch from whatever server you want to get information from.

提交回复
热议问题