Re: Page Refresh problem
From: Dave Methvin (news0110_at_methvin.com)
Date: 11/16/04
- Previous message: Dave Methvin: "Re: disabled link after being clicked"
- In reply to: Marc Walgren: "Page Refresh problem"
- Next in thread: Marc Walgren: "Re: Page Refresh problem"
- Reply: Marc Walgren: "Re: Page Refresh problem"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 16 Nov 2004 10:08:55 -0500
Are you sure this is your working code?
obj = eval('window.opener.document' + 'Events');
that would be the same as
obj = window.opener.documentEvents;
Assuming that is a typo, perhaps the problem is a race condition where the
page is being refreshed before the insert is complete? It would depend on
what the rest of the code looked like.
"Marc Walgren" <marcmittenATyahoo.com> wrote in message
news:O9bETV1yEHA.908@TK2MSFTNGP11.phx.gbl...
Greetings
I have an ASP page that uses a JavaScript openwindow call to pop-up a new
windows. The new window has a field for the use to fill.
The pop-up uses method=get and targets itself. The page process an insert to
a SQL base and then does uses the following
<script>
function submitpage(url)
{
obj = eval('window.opener.document' + 'Events');
obj.method="post";
obj.action=url;
obj.target="";
obj.submit();
}
</script>
<body onLoad="closeWindow()" onUnload="submitpage('<%=url%>')" >
The problem I experience is on two machines, the page that starts the pop-up
page does not refresh it's drop list (of the table that was successfully
inserted.) after the pop-up page has closed. I have more than 100 machines
that the code runs properly including my own development equipment. And I
have not been able to discover a browser setting that seems to "break" this
function.
Any help is gratefully accepted.
Marc
- Previous message: Dave Methvin: "Re: disabled link after being clicked"
- In reply to: Marc Walgren: "Page Refresh problem"
- Next in thread: Marc Walgren: "Re: Page Refresh problem"
- Reply: Marc Walgren: "Re: Page Refresh problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|