Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

iframe not loaded properly in IE11.0.31

$
0
0

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.


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>