3000 explained code solutions for 75 technologies


jquerySend DELETE request


$.ajax({
  url: '/script.php',
  type: 'DELETE',
  success: function(r) { console.log(r); }
});ctrl + c
'/script.php'

server script to send request to

type: 'DELETE'

request type we're going to send

console.log(r)

replace with your code processing response from server