|
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.
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.