"Fred Figueiredo" <[EMAIL PROTECTED]> wrote in message 9vu02b$[EMAIL PROTECTED]">news:9vu02b$[EMAIL PROTECTED]... > I tryed it and it still doesn't work. > > I think the problem, is after da instruction: > main.document.close(); > > When I trie to access main.document.getElementById('t').value, it doesnt > exists yet. >
Fred You might want to try attempting to access this HTML-Element after allowing the Browser canvas to do a reflow, thus allowing the DOM to be updated... you would do this with a setTimeout which calls a function that accesses that Element. It might be similar to the classic IE DHTML animation problem., whereby updated properties aren't reflected in the page until the script finishes. I can't confirm this is the problem, but it would be the first thing I would think of when a problem like this rears it's head JB
