This code doesn't run in IE but runs in google chrome.

My code

  • Which version on jQuery you are using? Which version of IE you are using? – moe Jun 13 '17 at 10:30
  • IE 11 and jquery 1.9 – farbod68te Jun 13 '17 at 10:32
  • How have you imported the jQuery to your page? Could you edit to the original question? – moe Jun 13 '17 at 11:38
  • It going to be difficult to pin-point the problem with such limited information. Could you please elaborate on more of the details? – JacobCaldwell Jun 13 '17 at 14:02
  • What version of SharePoint are you using? Also, what emulation mode is IE in when viewing your page? (right click on page->inspect element->Emulation tab). – maleman Jun 13 '17 at 17:50

I believe this is a IE issue. My experience with iframes is that you can't do anything with them in IE. Changing the src dynamically is hazardous to IE's health. We switched an entire company to Chrome due to IE limitations with iframes. I vaguely remember this was one of those issues.




The HTML height attribute doesn't take units (unlike the CSS height property).

So try it without the "px".

Your Answer

