Search
 
SCRIPT & CODE EXAMPLE
 

PHP

how to execute php function on button click

$('.button').click(function() {
  $.ajax({
    type: "POST",
    url: "some.php",
    data: { name: "John" }
  }).done(function( msg ) {
    alert( "Data Saved: " + msg );
  });
});
Comment

PREVIOUS NEXT
Code Example
Php :: laravel collection namespace 
Php :: remove the last character from a string in php 
Php :: laravel delete multiple rows 
Php :: isempty php 
Php :: wordpress autosave 
Php :: symlink.php laravel 
Php :: codeigniter 3 or where in 
Php :: update codeigniter 
Php :: give @s potion off weekness 
Php :: php check if string is integer 
Php :: Unknown column type "double" requested. Any Doctrine type that you use has to be registered with DoctrineDBALTypesType::addType 
Php :: laravel number input positive only 
Php :: php string random 
Php :: plesk web config file laravel 
Php :: how to create 404 page in php website 
Php :: strip non numeric and period php 
Php :: laravel eloquent bulk insert 
Php :: refresh laravel model 
Php :: update checkbox value in laravel 
Php :: php pdo setting error modes 
Php :: fgets in php 
Php :: array push in php 
Php :: php array_fill 
Php :: execute function php 
Php :: php url exists valid 
Php :: laravel access request in provider 
Php :: get elasticsearch data magento 2 
Php :: laravel copy image with new name 
Php :: php copy array 
Php :: remove invalid characters from a string laravel 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =