PDA

View Full Version : onEvent


rsp12uk
12-09-2003, 01:23 PM
Is it possible to set a onEvent handler onto a iframe tag?

Thanks everyone!

lavalamp
12-09-2003, 06:16 PM
Try it and see:
<iframe onmouseover="alert('hi');" ...

rsp12uk
12-09-2003, 07:35 PM
NO! What I'm asking is if it's possible to handle every single event that fires from iframe tag. If I do what you say than it will only handle the events that happen to the iframe itself, how can I handle all the events that are fired from iframe tag including those that happen inside the tag.

Thanks!

lavalamp
12-09-2003, 10:00 PM
I don't know about that, I think I have heard of an onevent handler but I don't know if it will work or even if it actually exists.
You could try window.onevent=blah; in some script tags but again I don't know if that will work.