Hi all, I try to create a web application, which calls a Dialog Window, when I click on a Button. This work fine when I use the Java function showModalDialog. After the Dialog is complete, it should refresh the 'Main Form' (not the complete window.submit or something else). So how can I refresh the 'Main Form'? I have try it with window.window or opener, but both will 'null'. When I use parent, I have any value in document.forms. Thanks, Andre
Isn't there something like dialogArguments or such which lets you synch what your are talking about ? There is no refresh command in dhtml. Only a location reload(). You can reset() a form, but not submit to the same window without having set the target attribute for the form. And there it will chock. The dialog is not automatically aware of the window you are trying to show your new form in because it already is in a new window. ************ Why don't you post your code. "Andre Grumbach" wrote in message news:%23QvtNF$dGHA.5016@TK2MSFTNGP04.phx.gbl... > Hi all, > I try to create a web application, which calls a Dialog Window, when I click > on a Button. > This work fine when I use the Java function showModalDialog. > > After the Dialog is complete, it should refresh the 'Main Form' (not the > complete window.submit or something else). > > So how can I refresh the 'Main Form'? > > I have try it with window.window or opener, but both will 'null'. > When I use parent, I have any value in document.forms. > > Thanks, > Andre > >