$.ajax({ type: "POST", url: "iletisimpost.php", data: {message}, success:function(res){ toastr["success"]("Mesaj gönderildi.") } });