Answers for "javascript call php function with parameters"

0

javascript call php function with parameters

var deleteClient = function(id) {
    $.ajax({
        url: 'path/to/php/file',
        type: 'POST',
        data: {id:id},
        success: function(data) {
            console.log(data); // Inspect this in your console
        }
    });
};
Posted by: Guest on March-04-2020

Code answers related to "javascript call php function with parameters"

Code answers related to "Javascript"

Browse Popular Code Answers by Language