Answers for "jquery code to trigger php function"

PHP
-1

jquery code to trigger php function

$.ajax({ url: 'phpscriptname.php',
         data: {function2call: 'getEmployeesList', otherkey:otherdata},
         type: 'post',
         success: function(output) {
                      alert(output);
         }
});
Posted by: Guest on April-13-2020

Code answers related to "jquery code to trigger php function"

Browse Popular Code Answers by Language