Asynchronous cross-domain POST request via JavaScript?

后端 未结 5 1887
一整个雨季
一整个雨季 2020-12-24 09:37

I could just create a form and use that to do a POST request to any site, thing is the FORM method isn\'t asynchronous, I need to know when the page has finished loading. I

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-24 10:15

    YUI3's IO object offers cross-domain requests, however it does so using a small Flash control it embeds on the page.

    While there is work going into secure cross-domain requests from JavaScript, at this time, you need to use a plugin like Flash or Silverlight as a bridge with which to make the request.

提交回复
热议问题