Answers for "jquery $.ajax post custom data"

2

jquery ajax $.post with data

$.post('http://example.com/form.php', {category:'client', type:'premium'}, function(response){ 
      alert("success");
      $("#mypar").html(response.amount);
});
Posted by: Guest on March-12-2020
0

js ajax post strings

$.ajax({
  type: "POST",
  url: url,
  data: data,
  success: success,
  dataType: dataType
});
Posted by: Guest on October-22-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language