0

I wanted to hide some html part of iframe which is added on my Sharepoint page. I am not able to object using javascript/jquery. Is there any way to get it.

Note: I have nested iframe elements

user9989023
  • 11
  • 1
  • 4
  • You cannot access or modify the contents of an iframe from the parent page. – Geuis Sep 21 '20 at 05:43
  • [Hey take a look at this . This should help you ](https://stackoverflow.com/questions/11658011/cannot-modify-content-of-iframe-what-is-wrong) – sanket Sep 21 '20 at 06:22
  • Could you show us your code samples? That way, we can take a good look at your problem and provide you with better solutions. – Mohammed Asker Sep 21 '20 at 06:35
  • Actually I am using visio web part in Sharepoint online modern page,where internally it laod the visio file in iframe.When I debug the code I found that there are nested iframes.I could able to get the iframe element at 3rd level,but I am not able to get the html of 3rd Iframe using javascript as mentioned in the blog shared by sanket – user9989023 Sep 22 '20 at 08:10
  • I cant share the code samples – user9989023 Sep 22 '20 at 08:10

0 Answers0