|
>>>don't know what you're using (cgidev2, erpg) for your cgi. CGIDEV2 -----Original Message----- From: web400-admin@midrange.com [mailto:web400-admin@midrange.com] On Behalf Of Richard B Baird Sent: Tuesday, September 17, 2002 3:53 PM To: web400@midrange.com Subject: RE: [WEB400] Refreshing windows Justin, don't know what you're using (cgidev2, erpg) for your cgi. below, is what the response to the browser given by the item cost update cgi. since it is directed to from whence it came (the cost change window) it closes that window and runs function refresh() in the 'caller' window or the item list window. hth rick --- ...../cgi-bin/itemdet is the CGi program that will do the update. I don't quite understand what you are doing with this....... c eval OutStr = 'Content-Type: Text/HTML' + c $CrLf + $CrLf + c '<html><script language=JavaScript>' + c 'window.close; + $CrLf c 'window.opener.refresh(); + c '</script></html>' and of course, back in the item list window, you would have a function called 'refresh()' that would resubmit the form to the refresh cgi program. _______________________________________________ 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 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.