D
DL
All right the title may be a bit dramatic but read further pls...
The following js code works fine with Firefox v3.5 (tested with on XP
box)
var f = document.getElementById('frmbox'); // iframe
var Editor1 = (f.contentDocument || f.contentWindow.document);
if (Editor1)
{
// do something here
}
however, it fails to set the var Editor1 with FF3.5.9 (Vista) and
FF3.6.2.(Windows 7). Why? Better, how do we deal with it with these
version of Firefox?
Thanks.
The following js code works fine with Firefox v3.5 (tested with on XP
box)
var f = document.getElementById('frmbox'); // iframe
var Editor1 = (f.contentDocument || f.contentWindow.document);
if (Editor1)
{
// do something here
}
however, it fails to set the var Editor1 with FF3.5.9 (Vista) and
FF3.6.2.(Windows 7). Why? Better, how do we deal with it with these
version of Firefox?
Thanks.