Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

$post in jquery


$.ajax({
    method: "POST",
    url: "some.php",
    data: { name: "John", location: "Boston" }
}).done(function( msg ) {
    alert( "Data Saved: " + msg );
});

Source by w3programmers.org #
 
PREVIOUS NEXT
Tagged: #jquery
ADD COMMENT
Topic
Name
8+2 =