Page refresh problem

M

Marc Walgren

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
 
R

Roland Hall

in message
: 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.

Marc...

While you may be writing ASP pages, your question is related to client-side
scripting. You will probably get more relevant help in a j(ava)script NG.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,901
Members
47,439
Latest member
elif2sghost

Latest Threads

Top