Popup a href issue
Popup a href issue
I have a Modal. I've added treeview in it to which there are href links. When I am trying to click on it, it is not go href site. It is not working in Modal.
Please help me with this issue.
My HTML code:
<div aria-describedby="modal1Desc" aria-labelledby="modal1Title" class="remodal" data-remodal-id="modal" role="dialog" style="max-height:450px; overflow:auto;"><button aria-label="Close" class="remodal-close" data-remodal-action="close"></button>
<link href="https://silsupur.org/WebPart/TreeViewMenu-css?v=4xO27ePt9p3bZ1f5vbsNkq8yPFdQHFtZ47xJbc2v-TI1" rel="stylesheet"/>
<div class="BaseAccordionMenu bam-easing" id="534f8c94498949fb97f41bd8f77667e5" style="display:none;" >
<h3></h3>
<ul>
<li>
<i></i>
<a href="#">homepage</a>
<ul>
<li>
<i></i>
<a href="#">otherpage</a>
<ul>
<li>
<i></i>
<a href="https://www.google.com" target="_blank">try1</a>
</li>
<li>
<i></i>
<a href="https://www.yandex.com" target="_blank">try2</a>
</li>
</ul>
</div>
jquery; (src undifened?)
$(document).ready(function()
var src = $('#modal').children('iframe').attr('src'); //popup ID'si buraya eklenmeli
$('.remodal-close'),$('.remodal-cancel'),$('.remodal-wrapper').click(function(e)
e.preventDefault();
$('#modal').children('iframe').attr('src', '');
$('.popup-bg').fadeOut();
);
);
@AagamJain i added
– Hakan Serbest
Sep 18 '18 at 11:05
Plz add HTML as well.
– Aagam Jain
Sep 18 '18 at 11:10
@AagamJain i add well :) help please
– Hakan Serbest
Sep 18 '18 at 11:19
0
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy
Please provide your modal code.
– Aagam Jain
Sep 18 '18 at 9:05