jQuery $.ajax(), $.post sending “OPTIONS” as REQUEST_METHOD in Firefox
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 <select>. The ajax request is pretty generic: $.ajax({ url: o.url, type: ‘post’, contentType: “application/x-www-form-urlencoded”, data: ‘{“method”:”getStates”, “program”:”EXPLORE”}’, success: function (data, status) { console.log(“Success!!”); console.log(data); console.log(status); }, error: … Read more