how to trigger jquery function from php code code example
Example: jquery code to trigger php function
$.ajax({ url: 'phpscriptname.php',
data: {function2call: 'getEmployeesList', otherkey:otherdata},
type: 'post',
success: function(output) {
alert(output);
}
});