1 $.ajax({ 2 url:"", 3 type:"POST", 4 data:{ 5 id: id, 6 status: status, 7 }, 8 success:function(data){ 9 if (data.success){10 }else {11 }12 }13 })