Refresh data in iframe
Posted: Fri Oct 25, 2019 3:41 pm
I have a launch form where te user can select with some dropdown boxes the year and month of a period.
The year and month are concatenated to a string like "2019-10" and put in a hidden box on the form with id afs_jrmnd.
Inside the form is an iframe with a browse form with multiple records for each period of a month. The name of the hidden box is set as the filter (#afs_jrmnd#) for the iframe.
I would like to refresh the data in the iframe whenever the user changes the month or year of the period, so that only the data of the selected period is shown.
How can I invoke the refresh of the iframe from the JavaScript attached to an onchange event of the hidden text box?
The year and month are concatenated to a string like "2019-10" and put in a hidden box on the form with id afs_jrmnd.
Inside the form is an iframe with a browse form with multiple records for each period of a month. The name of the hidden box is set as the filter (#afs_jrmnd#) for the iframe.
I would like to refresh the data in the iframe whenever the user changes the month or year of the period, so that only the data of the selected period is shown.
How can I invoke the refresh of the iframe from the JavaScript attached to an onchange event of the hidden text box?