Как ввести window.alert
в Bootstrap?
Пример кода:
something
.then(res => res.json())
.then(
result => {
console.log(result);
window.alert(result.description);
window.location.reload();
},
error => {
console.log(error);
window.alert(result.description);
window.location.reload();
}
);