Ajax Post Example Php

[Solved] Ajax Post Example Php | Php - Code Explorer | yomemimo.com
Question : ajax post example php

Answered by : breakable-bison-hhsmo8m3apzb

 /* Get from elements values */ var values = $(this).serialize(); $.ajax({ url: "test.php", type: "post", data: values , success: function (response) { // You will get response from your PHP page (what you echo or print) }, error: function(jqXHR, textStatus, errorThrown) { console.log(textStatus, errorThrown); } });

Source : https://stackoverflow.com/questions/5004233/jquery-ajax-post-example-with-php | Last Update : Sat, 16 Jan 21

Answers related to ajax post example php

Code Explorer Popular Question For Php