Reload Previous / Parent Window

Apr 13, 2009

one windown is opening a popup window.. and then the popup window is interacting with user information and then some processing with the use of some more php file.. now at last.. there is a "ok" button which should close this popup window and reload the parent window.. from where it was actually called.. i am trying to reload previous/parent window... using the function

[Code]...

View 2 Replies


ADVERTISEMENT

Reload The ASP.NET Page In The Parent Window?

Dec 29, 2010

I am trying to reload the ASP.NET page in the parent window from a javascript in a submodal window. Now I don't want a straight reload as in window.top.location.reload() because the page was previously posted back and thus a warning will be displayed by the browser. I also tried window.top.location.href=window.top.location.href, but that doesn't seem to load a fresh copy of the page. Does it make a difference that the page in the parent window is AJAX enabled and the script that launched the submodal is in an UpdatePanel?

View 7 Replies View Related

Previous & Reload

Mar 17, 2006

I am try to force a previous page to reload ...
problem: I cannot use a meta tag nor any script in the onload of the page ...

I was trying to add a parameter in the link but how can I retrieve previous page link from history ?

View 4 Replies View Related

Reload Parent (https/http)

Jun 12, 2005

I have a nonsecure page that calls a secure popup window to edit credit card info.
This is my popup code.

function popcc(url)
{
newwindow=window.open(url,'name','height=210,width=430');
if (window.focus) {newwindow.focus()}}

This is what I use to close the popup:

<input name="Close" type="button" id="Close" value="Close" onclick="opener.location.reload(); parent.close()">

The weird thing, is that this works when both pages are normal http. When the popup is is https it doesn't work any more. Ideas?

View 7 Replies View Related

Reload/refresh Parent Web Page From An Iframe

Nov 5, 2006

My main browser page has an iframe. Whenever the iframe is reloaded
(updated), I want to automatically refresh the main webpage as well.
How can this be done, preferably using javascript?

View 2 Replies View Related

JQuery :: Reload() Parent After Closing Popup Div On Firefox 3?

Aug 4, 2011

when i closing popup div on firefox 3 not work well,and this my script for reload parent :

window.location.reload();

it work on firefox 4 but on firefox 3, it doesn't work well...

View 2 Replies View Related

Reload Window After Pop-up Window Closed

Oct 9, 2001

I have a script that when you click on a form button it post the results in a new pop-up window - and doesn't change the origin window. I then create a close.window on the pop-up window to close it. I now want to make it so the origin page is reload/refreshed after the pop-up is closed via the link. I have tried a few things but can't seem to get it to work.

View 1 Replies View Related

Submitting The Form Back To Previous Window?

Mar 7, 2011

I am using some Javascript to open up a pop up window...

<script type="text/javascript">
//<![CDATA[
function editText() {

[code]....

This works fine and within that popup window I have the following:

<form action="index.php" method="post">
<textarea name="userInput" id="userInput" cols="32" rows="10"><?php echo $_SESSION['greeting'];?>

View 1 Replies View Related

Moving Focus Back To A Previous Window And Reloading?

Jan 28, 2011

I want users to work from a main application. Certain things will need to be done but the users wont want to see the main screen go away while doing these certain things. So my idea is to just open a new window with the content they need, they'll make their changes, the new window will close but then I want the main page to reload.What I've done now is at the end of the script that will be run prior to the new window closing is added this (its a php app):

echo "<script>window.close();</script>";
echo "<script>window.opener.location.reload(true);</script>";

Sometimes this works in IE and Firefox but never in Chrome. I know I've seen this done before on other sites, but I cant think of what they are.

View 2 Replies View Related

Automaticaly Clsoe The Parent Window When The Child Window Opened In Firefox?

Mar 24, 2011

i have this code i need to close the parent.html window when the child window opened, i need the code for that working well in IE and Firefox Parent.html

<HTML>
<SCRIPT TYPE="text/javascript">
function sendTo()
{
window.open('child.html','_blank','resizable=yes,width='+(screen.width-500)+',height='+(screen.height-500)+'');
}
[Code]...

View 2 Replies View Related

Window.opener Either Blocks When I Referesh The Parent Page Or Opens In New Window?

Aug 11, 2011

I am trying to usw window.open , upload a file in the child window and then referesh the parent window. But once upload is done, window . opener .location.href or opener.location.replace sends a message back but I get a pop up blocker, so if I turn pop up blocker off, it opens in new page. I just want the parent page to refresh on the same window. This works on some employees stations but not on others..I don't know if there are any settings on IE that need to change, I tried everything...weird. does any one done this before?

View 1 Replies View Related

JQuery :: Create A Hidden Form Field In A Parent Window From Within A Child Window - Popup

Jun 13, 2011

Im trying to create a hidden form field in a parent window from within a child window (popup). I am trying to use jQuery, but unfortunately the hidden field does not get created.

Code JavaScript:

View 2 Replies View Related

Javascript Popup Window That Stays In Front Of Parent Window?

Jul 20, 2005

I have a couple of utility windows - a calculator and a calendar that popup
from my main window. I would like them to always stay in front of the parent
window until they are shut down with there own close buttons. As it is, when
you click back to the parent window, of course it comes in front of the
child windows. Can I do this?

View 4 Replies View Related

Getting Data Back To Parent Window Field From Popup Window

Apr 7, 2007

My problem is that ..... I have to select Data from Popup Window and get that Data back to my Parent window's textarea field..

View 2 Replies View Related

Capture Child Window Close Event In Parent Window?

Feb 1, 2010

I have an HTML page where I am opening a child window using window.open. the child window is something like yahoo.com. I want to refresh the parent window when the child window is closed.

View 1 Replies View Related

Window.opener.location - Set The Parent Window(main Browser)

Nov 13, 2011

I'm using window.showModalDialog but having an issue trying to set the parent window(main browser). I open modal window A which is then opens modal window B, top of modal window B onload I do window.opener.close()". My issue now is when i'm finished with B I set parent window(main browser) to a new url with window.opener.location. So my problem is modal window A the parent has been closed so window.opener.location will not work.

View 3 Replies View Related

Trigger Action In Parent Window When Child Window Closes?

Jun 25, 2009

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.

View 4 Replies View Related

Location Reload On Window Close

Jul 23, 2005

I'm popping a window to a page with a different dns than the parent, and
i want the opener's location reloaded when this window is closed.

With Mozilla it seems that all the opener's methods and properties are
protected because the dns are different. A security exception
(permission denied) is thrown every time i try to exec an
"opener.location.reload()" from the pop up window.

An alternative would be catching the window closing from the opener, but
i don't know how this could be done.

View 2 Replies View Related

How Hard Can It Be To Reload The Main Window?

Jul 20, 2005

I'm trying to reload a frame from a pop-up, but really cannot figure
this out.

Within my index.htm file, I make a link to call a pop-up frame with a
javascript function that calls the following code from an external
javascript source file, dynamically created with PHP...

View 3 Replies View Related

Reload Text And Image In Same Pop Up Window

Mar 23, 2006

I am building a web site and am trying to streamline the way the site works. I have a list of companies that each will have a link to a new page. What I want to do is make it open a single pop up for all companies. In this pop up there will be one image and a few lines of text. Therefore, when a viewer clicks on one company's link and then clicks on another it will load the second company's info in the same pop up. Code:

View 4 Replies View Related

How To Reload An Iframe From A Popup Window

Jun 4, 2004

I am a total javascript newbie and have been pulling out my hair trying to figure out how I could reload an iframe inside the main browser window from a popup window.

What I am trying to do is have a system where people can upload pictures from the popup and then veiw the pictures they have uploaded as they upload them in the main window.

View 1 Replies View Related

Center Window On Screen Without Reload?

Mar 15, 2006

I am using a script to open a new window and center it on the screen (to expand a photo). The problem is that when you click the link, it opens the new small window in the top-left corner, then moves it to the center.

Is there anyway to have it just load in the center? It doesn't look professional moving mid-load.

View 4 Replies View Related

How To Reload Iframe Content From A Pop-up Window?

Jun 2, 2007

I have a main webpage with an iframe embedded inside:


PHP Code:
<IFRAME id="imagesframe" src="images_frame.php" width="100%"></IFRAME>

Now, I want to be able to reload the content of that iframe from a pop-up window. I tried the following JavaScript command inside the pop-up window:

PHP Code:
opener.document.getElementById("imagesframe").location.reload();

but when I call that command i get the following JavaScript error: ...

View 2 Replies View Related

Closing A Parent Window The Child Window Should Also Get Closed?

Apr 2, 2006

How can I trap, that on closing a parent window the child window should
also get closed.

View 1 Replies View Related

Call Parent Window Function From Child Window?

Jan 18, 2010

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:

checkwin.document.write("</td></tr><tr><td align='right'><input type='button' value='CONFIRM'
onclick='opener.document.personnel_form.submit()'></td><td></td><td><input type='button' value='MODIFY'
onclick='opener.document.personnel_form.first_name.focus()'></td></tr></table>")

View 1 Replies View Related

Change Parent Window When Modal Window Is Open?

Apr 14, 2009

i want to change parent window while modal Window opening or opened

my php code is

Code:
<li>
<div class='newsPopUpModal'>
<a href='#'

[Code].....

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved