Answers for "jquery post beforesend"

1

$.post jquery beforesend loader

$("#loading").ajaxStart(function(){
   $(this).show();
 });

$("#loading").ajaxComplete(function(){
   $(this).hide();
 });
Posted by: Guest on November-23-2020
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

Code answers related to "Javascript"

Browse Popular Code Answers by Language