Can events fired from an iframe be handled by elements in its parent?
- by allyourcode
Suppose I have a page located at www.example.com/foo, and it contains an iframe with src="http://www.example.com/bar". I want to be able to fire an event from /bar and have it be heard by /foo. Using the Prototype library, I've tried doing the following without success:
Element.fire(parent, 'ns:frob');
When I do this, in ff 3.5, I get the…