0

I need to set iFrame with variable height or dynamic as per the content.

Used iFrameSizer library and it is showing following issue. Hereby is the error logged in Console.

Error1: Error: Permission denied to access property "document"
custom.js (line 59)
Error2: TypeError: ifRef.contentDocument is null

In addition to above context; It is on cross-domains and it is enabled on both domains.

Harsimran Singh
  • 698
  • 4
  • 13
  • 29
  • It would help if you provide more information about how you are using the library. Post your HTML markup and the JS call aswell. – Romulo Apr 01 '17 at 11:58
  • Solved in: http://stackoverflow.com/questions/22481340/error-permission-denied-to-access-property-document – SLWS Apr 01 '17 at 12:06

0 Answers0