News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

JS accessing attributes

Started by Curbow 5, September 06, 2004, 12:33:17 PM

Previous topic - Next topic

Curbow 5

It's still not fixed, but apparantly (from what I've googled up) IE and Mozilla access 'Iframed' documents differently. Haven't validated this entirely yet. Does anyone have any experience with this:


// IE method:
var iframe = document.getElementById('htmleditor').contentWindow.document;

// Mozilla method:
var iframe = document.getElementById('htmleditor').contentDocument;

Advertisement: