|
-
Jun 19th, 2003, 02:28 AM
#1
Thread Starter
Fanatic Member
|JAVASCRIPT| on close event of popup window
I have a page that displays a pop up when a button is clicked. once theat popup window is closed how do i automatically refresh the main page
-
Jun 19th, 2003, 05:06 AM
#2
Thread Starter
Fanatic Member
function UnloadRefresh(){
opener.location.reload(true)
}
<body bgcolor="#FFFFFF" onUnload="UnloadRefresh();">
This works fine, the only trouble is that the functions of my pop-up window requires that it submits several times before it finishes and each time it does so it refreshes main page.
is there a way to get around this, perhaps disabling the close button in the top and creating my own close hyperlinks?
-
Jun 19th, 2003, 08:37 AM
#3
Thread Starter
Fanatic Member
can someone please tell me how to submit a form in a popup window back to the opener window?
-
Jun 20th, 2003, 04:23 AM
#4
Thread Starter
Fanatic Member
i used window.opener.name="main";
and set the traget of form as main, and added a close.window() as an onclick.
Thanks for all your help everyone
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|