hello friends i have a page wherein i'am getting data from database.i'am giving a link from the page(same) to open new window wherein new details can be feed. my problem is once details r fed and window is closed the page has to be refreshed and newly added deyails r to be shown . how can i do ? ishould have a function where in at once it has to close the window and refresh the page.
The best thing is you can assign the new values to either the hidden form fields or the java script variables in the parent window and close the child window. Once you have assigned the values you can either submit the form and get the page with new values of if you have used the java script variables just just set the location bar url to the new one with the new set of values and generate the new page with new values.
Gubal , My approach for solving the above problem is different . If you are interested just think in these terms . 1. If you are opening new window to Add new Items WHY CAN'T YOU OPEN ANOTHER WINDOW WHERE YOU CAN FETCH AND GIVE THE USER AN OPTION TO SELECT . This resembles List of Values if you are in touch with Client/S Tech. This will be a reusable component if you build . B'cause refreshing the page is not a good idea . If you have further questions Pls go ahead .