jQuery $.ajax(), $.post sending “OPTIONS” as REQUEST_METHOD in Firefox

前端 未结 23 2761
傲寒
傲寒 2020-11-22 14:38

Having trouble with what I thought was a relatively simple jQuery plugin...

The plugin should fetch data from a php script via ajax to add options to a

23条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-22 15:15

    Check if your form's action URL includes the www part of the domain, while the original page you have opened is viewed without www.

    Typically done for Canonical Urls..

    I struggled for hours before stumbling upon this article and found the hint of Cross Domain.

提交回复
热议问题