wpuzman
WordPress Developer
Kullanıcı
-
Üyelik
13.01.2017
-
Yaş/Cinsiyet
33 / E
-
Meslek
Yazılım
-
Konum
Trabzon
-
Ad Soyad
B** M**
-
Mesajlar
2771
-
Beğeniler
293 / 949
-
Ticaret
33, (%100)
form verilerini göndermemişsiniz. Doğrusu böyle olacak.
$(document).ready(function () {
$('#p_button').click(function () {
let form = $('#test');
$.ajax({
url: '/wp-admin/admin-ajax.php',
method: 'POST',
data: form.serialize() + '&action=my_action',
success: function (data) {
console.log(data);
}
});
});
});
1 kişi bu mesajı beğendi.