Event undefined when captured in frame

When an onclick listener within a child frame calls a function on a parent frame, the event object is undefined.

Test page Workaround is not included
Reported by: Tison.

(Orphaned), Explorer 5-6 Windows, Explorer 7, Explorer Mac | Reported on 1 November 2005.

Atom RSS

This site heavily relies on bug reports created by its readers. Anyone can report a bug and be published.

Main navigation:




Search reports by browser:

Comments

(Add your own)

1 Posted by Ash on 22 September 2006

This is not actually a bug, but the intended behavior of the event object. The event exists within the frame it was created in. To use events from other frames, you need to pass a reference to it to the function that is handling it.

Post a comment

Commenting guidelines:

  1. When quoting specs, articles or your own research, please include a URL of the document.
  2. Test your stuff. When reporting browser behaviour, make sure that your report is correct.

Yes