I am trying to search text automatically when the doc in the iframe is loaded.
I have embedded code that I took from Sharepoint of some doc:
<iframe src="https://******.sharepoint.com/personal/*******/_layouts/15/Doc.aspx?sourcedoc={55941cc0-d7ca-4af6-a989-f57e9841172b}&action=embedview&wdStartOn=1"
width="476px"
height="288px"
frameborder="0">
This is an embedded <a target="_blank" href="https://office.com">Microsoft Office</a> document, powered by <a target="_blank" href="https://office.com/webapps">Office</a>.
</iframe>
I want the doc to jump to another page by some searching text event when the doc is loaded inside the iframe.
Is there any Sharepoint REST API or any other way for performing such a task?