Good day! I have this code in javascript
$.ajax({ type: "POST", url: "decklist.php", data: {data : jsonString}, cache: false, success: function(){ console.log("OK"); } }); and this code in php
$data = json_decode(stripslashes($_POST['data'])); work in Google Chrome and Opera browsers, but do not work in Mozilla Firefox and the standard Android browser. Browser versions are quite new, no add-ons or plug-ins like ADBlock are worth it. Tried to change "POST" to "GET", but did not help. Tried to use different versions of jquery, also does not help! Javascript is generated using php in a wordpress plugin. decklist.php is in the same folder as it should be. Help me please! Thank you very much in advance!