djdave said the following on 10/3/2005 2:59 AM:
Quote:
Sorry Danny, but i still got the problem |
Ignore Danny, he seems to think that replying to nothing is the way to
post here, it's not. Please quote what you are replying to, this is
Usenet, not Email.
Quote:
(...)
// HERE'S MY PROBLEM: IT DISPLAYS ANYTHING !!!
document.write(window.frames[0].document.forms[0].elements[0].value); |
It won't be available until after the element in the form in the
document in the frame is loaded. In your sample code, it is trying to
access something that hasn't been loaded yet. Try changing it to the
onload event and alert it and see what you get.
--
Randy
comp.lang.javascript FAQ -
http://jibbering.com/faq & newsgroup weekly