I imagine you'd want some kind of JavaScript on the client that would make an AJAX requests back to the server at some interval. If the server RPGLE code is currently returning the entire page, you'd need to add an option to return something else (I'd prefer JSON, but HTML snippets might be easier).
If you want the server to push updates, well that gets more interesting...
-----Original Message-----
From: Jay [mailto:tegger@xxxxxxxxxxx]
Sent: Tuesday, September 11, 2018 2:02 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Auto-Refresh HTML DIV
Anyone trip across a good example of having HTML DIV auto-refresh via different RPGLE/CGI-DEV programs?
We have a need to have a frame-style page that has section auto-refreshing, but not the whole page.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.