Richard,
I understand now that I have to code a function into the caller page. I
tried using this and it didn't work....
function refresh()
{
        document.form1.submit();
}

it says that document.form1 is null.

Should I put the URL of the page or something?

-----Original Message-----
From: web400-admin@midrange.com [mailto:web400-admin@midrange.com] On
Behalf Of Justin Houchin
Sent: Tuesday, September 17, 2002 4:35 PM
To: web400@midrange.com
Subject: RE: [WEB400] Refreshing windows

>>c                 eval      OutStr = 'Content-Type:  Text/HTML'   +
>>c                           $CrLf + $CrLf +
>>c                           '<html><script language=JavaScript>' +
>>c                           'window.opener.refresh();' + $CrLf +
>>c                           'window.close;' + $CrLf +
>>c                           '</script></html>'

OK I understand where you are going with this....
But I still do not understand about the refresh()that is supposed to be
in the caller page.
-----Original Message-----
From: web400-admin@midrange.com [mailto:web400-admin@midrange.com] On
Behalf Of Richard B Baird
Sent: Tuesday, September 17, 2002 4:10 PM
To: web400@midrange.com
Subject: RE: [WEB400] Refreshing windows


Justin,

i'm moving too fast..  probably should have this refresh the opener
first,
then close the cost change window.  if not, the window will close before
the refresh is intitiated.

should be:

c                 eval      OutStr = 'Content-Type:  Text/HTML'   +
c                           $CrLf + $CrLf +
c                           '<html><script language=JavaScript>' +
c                           'window.opener.refresh();' + $CrLf +
c                           'window.close;' + $CrLf +
c                           '</script></html>'

have i really confused you yet? <G>

rick

_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/web400
or email: WEB400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.





_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/web400
or email: WEB400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.







As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.