menu

jQuery Ajax post Method


jQuery Ajax post method loads data from server using the HTTP POST Request.


jQuery Ajax $.post() Method Syntax

url(Required): Url of the file you want to load.
function : (optional): Callback is executed when the request completes.

jQuery Ajax post method Example

Try it ยป

Output :

jQuery Ajax post Method

jQuery Ajax post Example


note : post_method_demo.php contains the following code

Advertisements