In our mobile application, we have a modal opened, on click of cancel, we have to open an external link. So can we use window.open in that case.
Currently we are trying to open the external link like below:
<a href="https://www.google.com" data-dismiss="modal" target="_blank" data-window="external">Cancel </a>
But on click of cancel the modal alone gets closed, no redirection happening to google.