0

Whenever I try to click button which is inside Iframe using jQuery in my SPFx webpart in IE11 it gives below error. Link in the iframe is of different site collection:

  • SEC7111: HTTPS security is compromised by res://ieframe.dll/forbidframing.htm
  • SEC7111: HTTPS security is compromised by res://ieframe.dll/ErrorPageTemplate.css
  • SEC7111: HTTPS security is compromised by res://ieframe.dll/errorPageStrings.js
  • SEC7111: HTTPS security is compromised by res://ieframe.dll/httpErrorPagesScripts.js
  • SEC7111: HTTPS security is compromised by res://ieframe.dll/red_x.png
  • SEC7111: HTTPS security is compromised by res://ieframe.dll/bullet.png
  • SEC7111: HTTPS security is compromised by res://ieframe.dll/background_gradient.jpg
  • SEC7120: Origin https://easyjetsharepoint.sharepoint.com not found in Access-Control-Allow-Origin header.

PS: It works fine in chrome.

Code Used by me to handle click event is:

<iframe id="editForm"  src="https://sharepoint.com/sites/test/form/Editform.aspx?id=1" height="300px" width="500px" onLoad={this._onIframeLoaded} ></iframe>

private _onIframeLoaded(){
     jQuery('#editForm').contents().find('[id$=diidIOSaveItem]').click();
   }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.