Page refresh problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marc Walgren

    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.op ener.document' + 'Events');
    obj.method="pos t";
    obj.action=url;
    obj.target="";
    obj.submit();
    }
    </script>
    <body onLoad="closeWi ndow()" onUnload="submi tpage('<%=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


  • Roland Hall

    #2
    Re: Page refresh problem

    "Marc Walgren" wrote in message
    news:ux0Bm8zyEH A.2016@TK2MSFTN GP15.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.op ener.document' + 'Events');
    : obj.method="pos t";
    : obj.action=url;
    : obj.target="";
    : obj.submit();
    : }
    : </script>
    : <body onLoad="closeWi ndow()" onUnload="submi tpage('<%=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


    Comment

    Working...