Receiving HTML With AJAX. By default jQuery AJAX function does not parse the data received from the server.Second, notice the type property, which is set to "POST". This tells jQuery to POST the data to the server. .ajax( type: POST, url:"controller.php?aupdate-player", data: datajsonJSON.stringify(playerinfo), success: function ( data) , ) Jquery.post() sends variables, but PHP shows them empty? Try serializing the data before sending it to php? jquery .post empty array. Load data asynchronously from the server using GET or POST HTTP requests. Set data type (xml, json, script, text, html) and decode returned data. jQuery: . ajax(), .get(), .post(), .getJSON(). Serialize form data into an array.