Answer the question
In order to leave comments, you need to log in
Who will tell you what the trouble is?
If anything is needed, I'll add it!
$(document).ready(function(){
$('.security').on('click', function(){
var data_click = $('buttom.security').val();
var data_mailto = $('.mailto').val();
// Отправляем данные в обработчик
$.ajax({
method: "POST",
url: "code.php",
data: {
data_click: key,
data_mailto: email,
},
success: function(html){
$("#system").append(html);
}
});
});
});
Answer the question
In order to leave comments, you need to log in
The key variable is not defined. You have swapped keys and values in an object.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question