Jakies pomysly?
probuje w ten sposob ale nie dziala to tak jak powinno:
Kod
$('.submit').click(function(){
$.ajax({
type: "POST",
url: "",
dataType: 'json',
data: $(this).serialize(),
success: function(result){
console.log(result)
}
});
return false;
});
$.ajax({
type: "POST",
url: "",
dataType: 'json',
data: $(this).serialize(),
success: function(result){
console.log(result)
}
});
return false;
});