The post() method in the jQuery is used to request data from the server with a post request. It is used to display the returned result from the requested webpage. In jQuery, that the post () method sends request along with some information using an HTTP POST request.

Syntax of .post()

Example Script using .post()
      name: "Sophia",
      city: "Hyderabad"
      alert("Data: " + data + "\nStatus: " + status);

Leave a Reply

Your email address will not be published. Required fields are marked *