We have opened an iframe
in model dialog. In the iframe
we are loading a document
. The document is also and html page. The <a>
tags in the document are not navigating to the id
mentioned in their href
.
Just a sample from the html
document.
Below is the <a>
example,
<a data-custom-class="link" href="#infoshare">
2. WILL YOUR INFORMATION BE SHARED WITH ANYONE?
</a>
<p id="infoshare" style="font-size:15px;">
<span style="color: rgb(0, 0, 0);">
<strong>
<span style="font-size: 19px;">
<span data-custom-class="heading_1">
2. WILL YOUR INFORMATION BE SHARED WITH ANYONE?
</span>
</span>
</strong>
</span>
</p>
Onclick of the <a>
it should navigate to the <p>
.
Though, It works perfectly when the url is browsed in the browser.
But Doesn't work in the dialog model.