Answer the question
In order to leave comments, you need to log in
How to send a link so that a modal window is activated when clicked?
<a href="#" class="btn btn--sm btn--purple" data-toggle="modal" data-target="#modalReasons">Подробнее</a>
Answer the question
In order to leave comments, you need to log in
If we are talking about the fact that this link should lead to another page where this modal window will open, then there is no way without
editing the page code. Bootstrap just works on these data attributes. you need to remove
And then make a link, let's say with an anchor - and by this anchor on another page open this modal window through$('#myModal').modal('show')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question