SharePoint 2013: Unable to add iframe in Content Editor Web Part SharePoint 2013 & IE 11
Using SharePoint 2013 & IE 11
Issue: Cannot add an iframe in Content Editor WebPart. Source page added in iframe is not getting displayed in IE 11. Works fine in Firefox and Chrome browsers.
**Script used: **
<iframe id="iFrameBox" src="http://servername.com/page.html"></iframe>
Resolution: Add the script to load the source file on document ready function.
<script language="javascript" type="text/javascript">
$(document).ready(function(){
$("#iFrameBox").attr("src","http://servername.com/page.html");
});
</script>
<iframe id="iFrameBox" src=""></iframe>