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();
);



);






Please provide your modal code.

– Aagam Jain
Sep 18 '18 at 9:05






@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

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)