Answer the question
In order to leave comments, you need to log in
How can a modal be closed with ajax yii\bootstrap\Modal?
The question is how can I close yii\bootstrap\Modal when receiving a success response when sending ajax. Here in this code
$.ajax({
url: '/employee/place-location',
type: 'post',
data: $data,
success: function(result) {
console.log(result)
//$('.modal-dialog') что дальше писать не знаю
}
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question