Never miss an update by joining 3,000 other mailing list members. I wondered if the iframe element might support this event as well, and as it turns out, it does. The result looked like this: This code assigned a method called _myMethod() onto the iframe element. I created the ESLint open source project and wrote several Since the iframe element is owned by the containing page, you never need to worry about cross-domain restrictions. An inner frame that works much like the HTML