Search
 
SCRIPT & CODE EXAMPLE
 

PHP

jquery code to trigger php function

$.ajax({ url: 'phpscriptname.php',
         data: {function2call: 'getEmployeesList', otherkey:otherdata},
         type: 'post',
         success: function(output) {
                      alert(output);
         }
});
Comment

PREVIOUS NEXT
Code Example
Php :: Encrypt in PHP openssl and decrypt in javascript CryptoJS 
Php :: wc create new category 
Php :: toggle between login and logout buttons php 
Php :: storepublicly laravel 
Php :: foreign key cosntraint laravel 
Php :: multi theme laravel 
Php :: laravel collection namespace 
Php :: wordpress post autosave time 
Php :: convert multdimentional array in array in php 
Php :: start php file 
Php :: why we use .htaccess file in php 
Php :: author page url from the current post 
Php :: create role spatie 
Php :: disable display error 
Php :: php string random 
Php :: get redirect url for laravel socialite with api 
Php :: create a laravel project 
Php :: laravel model 
Php :: rodar migration especifica laravel 
Php :: how to make a child theme in wordpress 
Php :: wordpress create comment programmatically 
Php :: laravel notification attach file 
Php :: get node url from twig 
Php :: php Program for Sum of the digits of a given number 
Php :: create weekly calendar in php 
Php :: php + set timezone berlin 
Php :: round to 0.5 php 
Php :: laravel 8 seeding 
Php :: extract text before last space php 
Php :: laravel import data from csv 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =