Call Php Function From Javascript With Parameters Code Example


Example: 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         }     }); };

Comments

Popular posts from this blog

Chemistry - Bond Angles In NH3 And NCl3

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Change The Font Size Of Visual Studio Solution Explorer