Events to Expect when Dynamically Loading iFrames in JavaScript - Take 2 (thanks Firefox 3.5)

Published 18 August 09 01:55 PM | jacobl 

Just two months ago, I wrote a post on the JavaScript events you could expect when loading iFrames dynamically. Since the behavior highly depends on the browser you are using and the whims of the developer who decided what to fire and when, I put together a nice table of Browser v. Content-Disposition listing the events and any return codes that come along with them.

This is where it all falls apart. With Firefox 3.5, it appears as though my table must change. Firefox no longer fires onload when the Content-Disposition is set to Attachment. This is the same behavior that can be expected in Safari and Chrome. Even though it appears as though there's a growing consensus outside of the IE camp, I do not think it's moving in the right direction. (IE's behavior is clearly the best here: more, specific, expected)

Disappointedly, I'm posting this updated table depicting the events you should expect when dynamically loading iFrames:

tmp4673

Thanks for nothing.

Filed under: ,

Comments

# Jake Opines : Events to Expect when Dynamically Loading iFrames in JavaScript said on August 18, 2009 1:58 PM:

PingBack from http://www.atalasoft.com/cs/blogs/jake/archive/2009/06/18/events-to-expect-when-dynamically-loading-iframes-in-javascript.aspx

Anonymous comments are disabled