View Full Version : Onload in an iframe
Are there any cross browser problems regarding the use of the onload event in an iframes tag?
The piece of code is crossbrowser AFAIK, at least for modern browsers.
...maybe the fact that it is safer to use the full root window in code should be a problem when dealing with frames/iframes...
Thanks Kor, just wanted to make sure that onload in an iframe tag was still a viable option.
I see that W3C recomadation for HTML 4.0 don't specify the onload amongst the iframe's attributes, but I guess that as, in fact, inner frames inherit all the frame's (and frameset's) attributes/methods, thus they accept onload as handler/event as well.
I see that W3C recomendation for HTML 4.0 don't specify the onload amongst the iframe's attributes
I had a quick look myself but did not come across anything positive so I thought I'd play it safe and simply ask the experts, just in case :D
Once again thanks :thumbsup:
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.