I am looking for a postMessage method for sibling iFrame without javascript on the parent page. The difficulty I am facing is trying to get the window object for another iFrame from the first iFrame
The page will be laid out like this:
html body (http://host.com/)
iFrame
iFrame
From iFrame#aI'm trying to do:
(iFrame#b window).postMessage(...)
The problem is that I do not know how to get the window object for iFrame#bfrom iFrame#a. parent.getElementById()and other functions subject to XSS restrictions. I just want to highlight postMessagefor all other iFrames on the parent page from my domain http://me.com/in the above example.
source
share