I am using Netscape 6 . My servlet opens a popup window in a java script function and gives focus to newly opened popup window (windowname.focus() ). After this line I am saying form.submit() in same function. Now here is problem ..... New Servlet opens and gains the focus and I want focus on prev. opened pop up window.. One more thing ......... I want that code for opening popup window should be there in first servlet only as action property of form changes dynamically,so I can not open pop up window on 'onload' event of second servlet.
How can I do this ??? Please help me urgently thanks in advance ninad
Ninad Your problem is probably because the function you use to open the new window and call submit is in one window and the form is in another. Try something along the lines of windowName.formName.submit(). hope that helps Dave
Joined: May 04, 2001
Hi dave, I am not getting ur point :-( can u just elaborate a bit ... that might help me thanks ninad
Joined: May 10, 2001