Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- Javascript, forms, opener.window help!


chesko - 2:11 pm on Sep 18, 2002 (gmt 0)


Thanks Josh,

as you where pointing out, those lines where not needed. But even deleting those lines out of the code, I continue having the same problem.

- I fill the form (opener).
- Click on a button which calls the child window.
- Select a value which will go into a field in the opener form.
- The child window self closes.
- Click on the submit button (opener).
- A in-between page is called for password verification.
- If password no good then history.back() to opener with all fields with the data entered.

Supposedly, when history.back() the fields in the opener should remain as they were left (this is filled out with the same data).

If I do not call the child window prior to submitting the form then history.back() works fine, mantaining all data as it was.

If I call the child window, select the value, close the child, submit the form, and password no good, then as history.back() data is lost....

It would work, if in the child window I add an alert(something) in between the code, prior to document.write as stated in my second response... Seems like child window should completely load or something like that... :-?

Thanks again,
:: CHESKO ::


Thread source:: http://www.webmasterworld.com/javascript/195.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com