Asynchronous cross-domain POST request via JavaScript?

后端 未结 5 1873
一整个雨季
一整个雨季 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条回答
  •  旧时难觅i
    2020-12-24 10:06

    You can't do anything cross-domain using javascript. You'd have to use a backend language like PHP or asp or something.

提交回复
热议问题