I use this code in a popup to refresh the parent browser. It works fine as long as the user actually clicks on this link but does not work in cases where the user closes the child popup through the Windows X (close) button. Any way to accomodate this also?
Put a link on my page that will open an external site (over which I have no control) in a pop-up window. When the user closes the pop-up, I want my original page to redirect to another page. The difficulty I'm having is that I can't add any code to the page in the pop-up as it's not my site.
I have created and opened a child window called "checkwin" and have written some data to it. If the data is valid, I want the user to click on the 'CONFIRM' button on the child window, at which time I want the "submit()" function for the form on the parent window to be executed. If the data is invalid the user clicks on 'MODIFY' and I want focus to return to a field on the parent form. However, when I click on the "CONFIRM" or "MODIFY" buttons on the child window, nothing happens. Here is the code:
I have a parent page which I don't have control of. I call my child page from parent page, perform some operations and once I click update child window should close and parent window should be refreshed.Everything seems to work fine except the parent page not refreshing.I tried using window.opener.location.reload(true). But it makes a postback in the parent page and so the values that I update are lost because it makes a postback with the previous values.I tried window.opener.document.locationwindow.opener.document.location. But this doesn't refresh my parent page.
Iam using mozilla firebird. I have three popups displayed at one point of time...if I close one the other two goes hidden....could you please suggest me the reason for this behaviour and how to overcome it.....
While I opened......these child windows(popup)...from the main window I have given "dependent=yes" in the window.open statement.
The sameway I want to close the Child windows opened from the parent window using IE. I use IE 6.0.
I have parent page with 10 child window and i want to close all child window when click on close session button on parent but first i need to check whether any child window open or not after that action should be done for close the child window.
At the moment, I have a page listing keywords associated with an image. The user can click an 'add keyword' link, which loads a child window where they have a form to select & add extra keywords. Now, at the moment when they submit the form, the page reloads the parent window using an onload event. However, I would prefer it if it only reloaded the DIV which holds their keyword list.
My thinking was I could do it with AJAX or something, but I can't find anywhere that even mentions if it's possible. Can anyone help? Is this possible, or am I too ambitious?
I was curious one day and started to explore the whole idea of a document opening a pop up and that pop up being able to send data, that was input by the user, back to the parent. Does anyone have expirence with this?
I have a closed box system which opens an html page. The page closes by the system. I have access to the html page. I added code to open a child window from this page. However when the parent window closes, the child closes too. Is there a way to keep the child window open? Yes keep it orphaned.
I'm looking for a way to get a variable from a parent window in a child window. I'm aware that you can write the variable to a hidden field and then get the field's value in the child window, but I'm looking for a cleaner (all JS preferable) way of doing this.
Something like this, but I believe this is an out-dated solution code...