0 л.
0 л.
кол-во газа
0 л.
function sendform(id) { var rname = $('#rname').val(); var rphone = $('#rphone').val();
$.ajax({ url: 'php/send.php', type: 'post', data: 'form_type=cbck&name=' + rname + '&phone=' + rphone, dataType: 'html', success: function(html) {
console.log(html); if(html.length > 3) { $('.erred').html(html); } else { $('.mssssssfg').html('
'); }
}, error: function(xhr, ajaxOptions, thrownError) { alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } });
return false;
}