Did IE8 lose the document.frames collection?

Posted by Nick on Stack Overflow See other posts from Stack Overflow or by Nick
Published on 2010-03-23T21:47:21Z Indexed on 2010/03/23 21:53 UTC
Read the original article Hit count: 336

Filed under:
|
|

Hey all..

I noticed that an application I am maintaining was giving me a javascript error in IE8 and FF. The script was trying to get a collection of frame elements:

document.frames

This always returned 'undefined'. I placed a watch on the document object and noticed that this collection does not seem to be a member of the document object in IE8. I think this was always the case in FF but this same code works in older versions of IE. Has this been removed?

-Nick

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about ie8