post script test
This commit is contained in:
parent
fbc83cabd1
commit
d1a1c5d229
|
|
@ -437,27 +437,27 @@ document.body.onload = function () {
|
|||
},
|
||||
cache: false,
|
||||
success:function(data){
|
||||
//console.log(data);
|
||||
console.log(data);
|
||||
$('#alert_success').css('display','inline-block');
|
||||
$('#customer_send_btn').prop("disabled", false);
|
||||
$('#customer_send_btn').html('Ugrat');
|
||||
$('#alert_success').css('display','inline-block');
|
||||
setTimeout(function () {
|
||||
location.reload();
|
||||
},4000)
|
||||
// setTimeout(function () {
|
||||
// location.reload();
|
||||
// },4000)
|
||||
|
||||
},
|
||||
error:function (data) {
|
||||
$('#alert_danger').css('display','inline-block');
|
||||
$('#customer_send_btn').prop("disabled", false);
|
||||
$('#customer_send_btn').html('Ugrat');
|
||||
setTimeout(function () {
|
||||
location.reload();
|
||||
},5000);
|
||||
//console.log(data);
|
||||
// setTimeout(function () {
|
||||
// location.reload();
|
||||
// },5000);
|
||||
console.log(data);
|
||||
}
|
||||
});
|
||||
//console.log(choices);
|
||||
console.log(choices);
|
||||
}else{
|
||||
alert('Ady we Telefon hökman girizmeli!')
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue