473,394 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Page refresh problem

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
Jul 22 '05 #1
1 1428
"Marc Walgren" wrote in message
news:ux**************@TK2MSFTNGP15.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.

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
Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Rick | last post by:
Hi folks, I have a web page I wrote for a class assignment (which I embellished a little) that doesn't seem to work on all browsers, platforms, etc. The problem appears to be that the page...
6
by: Ed | last post by:
I first noticed this in my own app. Images would show up missing randomly on IE 6.0.2800.1106 on Windows 2000 server. I then was able to repro this problem on Microsoft's website!!! The page I...
3
by: Scott | last post by:
I have a clickable graph that resides on page 1. If user clicks a data point on the graph, the page runs again yeilding a 2nd graph that shows a more detailed graph. Problem is, I have a...
2
by: swp | last post by:
I have a site created using ASP, HTML, and JavaScript. I use frames to manage a few things, and requires SSL to connect. The site is on a secured network, not meant to be cross-browser...
6
by: LisaMark0822 | last post by:
I have an asp page that gets populated from a SQL Server database. Normally when the page gets displayed it displays the current record from a select statement that can return lets say seven...
6
by: iwearwatches | last post by:
Group, What a root canal. Here is what I have: I have a page that has several layers that I will either show/hide based on a graphic/tab that the user clicks. (works perfectly)
5
by: Bill Cohagan | last post by:
I'm constructing an ASP app with a frameset on the home html page. From frame A I need to referesh the page in frame B when a button click occurs on a button in Frame A (server side event handler)....
5
by: Dan | last post by:
We have a simple site. It's a frameset with two frames a left and a right. The left frame is essentially a list of records from a database (using a server-side repeater control). When you click...
1
by: ppatel | last post by:
Problem I have a problem with web image button control click event. The click event does not get trigger until it has not been clicked once or page refresh occures(which is fine). When click...
8
by: Judy Ward | last post by:
I have an index.aspx with frames. The top frame has a navigation bar with a "Login" hyperlink. If the user has already logged in I want this link to change to "Logout". I am using forms-based...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.