Hi,
We are having iframe problem on IE 11.0.31 where the iframe is not loaded properly. In our application, we are using <iframe> to render the search result in a same page using javascript calling and assign the source. It showing the result but within a second, the content in iframe has vanished.
Please see the below code snippet.
JSP page:
<div id="divSearchResults" style=" height:35em">
<iframe id="ifrmSearchResults" name="ifrmSearchResults"
frameborder="0" height="100%" width="80%" align="center"
scrolling="no"></iframe>
</div>
JavaScript:
function fnRenderOutput(url,caller){
objSearchResultsFRM = document.getElementById("ifrmSearchResults");
if(objSearchResultsFRM != null) {
objSearchResultsFRM.src = url;
}}
The same code is working in compatibility view mode.
Could you please help us to resolve the compatibility issue ?
Let me know for more information if needed.