AJAX Call for a HTTP POST request without refreshing the page

PHOTO EMBED

Sun Apr 26 2020 20:50:22 GMT+0000 (Coordinated Universal Time)

Saved by @mishka #javascript #nodejs

$.ajax({
  type: "POST",
  url: url,
  data: data,
  success: function (result) {
       alert("The result is "+result);
	}
});
                                
content_copyCOPY

https://api.jquery.com/jquery.post/