Is it possible to get iframe id within cross-origin iframe?
The html of iframe:
<iframe height="100%" width="100%" scrolling="yes" allowtransparency="true" id="vfFrameId_1544771685610" name="vfFrameId_1544771685610" allowfullscreen="true" force-aloha-page_aloha-page="" allow="geolocation *; microphone *; camera *"></iframe>
I tried:
window.frameElement, it returnsnull. So I can't usewindow.frameElement.idto get the id.
Is there any other solution?