kaeli <tiny_one@NOSPAM.comcast.net> writes:
[color=blue]
> parent.chatframe is a window object. Form belongs to document.
>
> plast = parent.chatframe.document.form1.last_seen.value;[/color]
or better yet (since I prefer to use the appropriate collections :)
plast = parent.frames['chatframe'].document.forms['form1'].
elements['last_seen'].value;
There is no official standard for Javascript access to frames,
so I can't say that using the frames collection is more official than
just assuming the frames are direct properties of their parent.
However, the W3C DOM specification requires the forms collection, and
there is no requirement that forms are available as properties of the
document element. That means that a (hypothetical) strictly standards
adhering browser (implementing nothing unofficial) will only work
using the forms collection.
Ditto for the elements collection.
/L
--
Lasse Reichstein Nielsen -
lrn@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'