Sunday, January 4, 2015

Unable to add iframe in Content Editor WebPart SharePoint 2013 & IE 11

Using SharePoint 2013, IE 11

Issue: Cannot add 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=""></iframe>

Resolution: Add the script to load the source file on document ready function.

<script language="javascript" type="text/javascript">


<iframe  id="iFrameBox" src=""></iframe>