ashore wrote:
> parent.top.document.getElementById('level').innerH TML="whatever";
parent.top contains redundancy.
> IE complains "... is null or not an object".
You are mixing a DOM standard (W3C DOM Level 2) and a proprietary
implementation (innerHTML) which is known to be error-prone if untested.
Depending on the IE version, document.getElementById() may not even be
supported.
Furthermore, if this is to be cross-frame, the reference to the target
frame is missing:
... window.top.frames["otherframe"].document ...
> Works fine in Firefox.
That is highly unlikely. Firefox logs errors in the error console,
probably you will find the error message there.
HTH
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
|