if (cevap=="onaygerek") {
$("#wait").html('Tamamla').prop('disabled',false);
swal({
title: "Telefonunuz onaylı değil! SMS gelen kodu girin.",
icon: "error",
button: "KAPAT",
timer: 4000
});
}burada tekrar bir input açtırıp swal olarak bu inputa kodu girdirtip yeniden post atmak istiyorum nasıl yapabilirim?
Sweet Alert Then Kullanımı
1
●96
- 25-08-2022, 11:10:48Merhaba, sms kodu gönderdiyorum ve cevabı karşıladığım yer şu şekilde;
- 25-08-2022, 11:43:55
Swal.fire({ title: "Telefonunuz onaylı değil! SMS gelen kodu girin.", icon: "error", button: "KAPAT", timer: 4000, confirmButtonColor: '#3085d6', confirmButtonText: 'Onayla', }).then((result) => { if (result.isConfirmed) { } })